Skip to content

R CMD check errors

3 messages · Ollivier TARAMASCO, Chris Jackson, Uwe Ligges

#
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.

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.
2 days later
#
Chris Jackson wrote:

            
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