[R] R CMD check errors

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Mar 12 17:17:32 CET 2005


Chris Jackson wrote:

> In my experience these are usually signs of an error in your NAMESPACE
> file, such as a function name in the NAMESPACE which does not match the
> function name in the package.

If the NAMESPACE is not the problem (is it???) there are several other 
points - one has to look closer.

Does the package work properly after INSTALLing it? Is there a filled 
./data directory?

Uwe Ligges


> Chris
> 
> Ollivier TARAMASCO wrote:
> 
>  > I wrote a library which seems to work on my PC, and on different Unix
>  > systems.
>  >
>  > As it is written in the "Writing R Extensions" manual, I execute a R CMD
>  > check on my library.
>  >
>  >
>  > I have always the same errors messages:
>  >
>  > * checking S3 generic/method consistency ... WARNING
>  > Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc,
>  > character
>  > .only = TRUE, verbose = FALSE) :
>  >         package/namespace load failed for 'TATA'
>  > Execution halted
>  >
>  > See section 'Generic functions and methods' of the 'Writing R 
> Extensions'
>  > manual.
>  >
>  >
>  > * checking replacement functions ... WARNING
>  > Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc,
>  > character
>  > .only = TRUE, verbose = FALSE) :
>  >         package/namespace load failed for 'TATA'
>  > 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 in library(package, lib.loc = lib.loc,
>  > character
>  > .only = TRUE, verbose = FALSE) :
>  >         package/namespace load failed for 'TATA'
>  > Execution halted
>  > See section 'System and foreign language interfaces' of the 'Writing R
>  > Extensions' manual.
> 
>




More information about the R-help mailing list