[BioC] Building R packages

michael watson (IAH-C) michael.watson at bbsrc.ac.uk
Tue Jun 21 16:06:42 CEST 2005


Hi

Did you use package.skeleton()?  I don't know if this will fix your specific problem, but all I do is load up all the objects in R that I want in my package, run package.skeleton, then create the docs and everything is fine - I've certainly not seen those errors before...

Mick


-----Original Message-----
From:	bioconductor-bounces at stat.math.ethz.ch on behalf of E Motakis, Mathematics
Sent:	Tue 21/06/2005 2:53 PM
To:	bioconductor at stat.math.ethz.ch
Cc:	
Subject:	[BioC] Building R packages
Dear all

I am trying to build an R package in Windows 2000 that I want to upload in 
Bioconductor. I have created the man and R folders with the appropriate 
files inside and I use the command Rcmd check C:\...\roots to check whether 
the package works properly, but the following problem appears:

-------------------------------------------------------
* using log directory 'C:/Program Files/R/rw2001/bin/roots.Rcheck'
* checking for file 'roots/DESCRIPTION' ... OK
* checking if this is a source package ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking package dependencies ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for syntax errors ... OK
* checking R files for library.dynam ... OK
* checking S3 generic/method consistency ... WARNING
Error in .try_quietly({ : Error: Unable to load R code in package 'roots'
Execution halted
See section 'Generic functions and methods' of the 'Writing R Extensions'
manual.
* checking replacement functions ... WARNING
Error in .try_quietly({ : Error: Unable to load R code in package 'roots'
Execution halted
In R, the argument of a replacement function which corresponds to the right
hand side must be named 'value'.
* checking foreign function calls ... WARNING
Error in .try_quietly({ : Error: Unable to load R code in package 'roots'
Execution halted
See section 'System and foreign language interfaces' of the 'Writing R
Extensions' manual.
* checking Rd files ... OK
* checking for missing documentation entries ... ERROR
Error in .try_quietly({ : Error: Unable to load R code in package 'roots'
--------------------------------------------------------

Could someone tell how to correct for the warnings, please?

Regards,
Makis



----------------------
E Motakis, Mathematics
E.Motakis at bristol.ac.uk

_______________________________________________
Bioconductor mailing list
Bioconductor at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/bioconductor



More information about the Bioconductor mailing list