What is 'SBMLodeSolveR'? The standard advice is to check that you can install and load the package before you try R CMD check on it. That way you may get a more informative error message. You may also need to try loading after having started R with R_DEFAULT_PACKAGES=NULL.
On Tue, 11 Oct 2005, nwew wrote: > Dear R-developers, > > I am getting the following error message (see bottom of e-mail) and can't make > a clue out of it. > > The zzz.R file contains > .First.lib <- function(lib, pkg) library.dynam("SBMLodeSolveR",pkg,lib) > .Last.lib <- function(libpath) library.dynam.unload("SBMLodeSolveR", libpath) > > There is a SBMLodeSolveR.so file in the src directory which works if loaded > with > dyn.load("/data/devel/SBMLodeSolveR/SBMLodeSolveR/src/SBMLodeSolveR.so") > > The error/warning messages are: > > * checking S3 generic/method consistency ... WARNING > Error: .First.lib failed for 'SBMLodeSolveR' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) > Execution halted > See section 'Generic functions and methods' of the 'Writing R Extensions' > manual. > * checking replacement functions ... WARNING > Error: .First.lib failed for 'SBMLodeSolveR' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) > 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: .First.lib failed for 'SBMLodeSolveR' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) > Execution halted > See section 'System and foreign language interfaces' of the 'Writing R > Extensions' manual. > * > > > Eryk > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel