Hello, I'm getting some error messages from R CMD check I can't deal with. I'm working under Linux with R 1.8.1 The package working directory can be found at: http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.tar.gz Here's the 00check.log produced by R CMD check distr * using log directory '/home/tom/studium/R/swp/swp/package/distr.Rcheck' * checking for file 'distr/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking package directory ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking DESCRIPTION meta-information ... OK * checking index information ... OK * checking package subdirectories ... WARNING Subdirectory 'data' contains no data sets. Subdirectory 'src' contains no source files. * checking R files for syntax errors ... OK * checking R files for library.dynam ... OK * checking S3 generic/method consistency ... WARNING Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : package/namespace load failed Execution halted * checking for replacement functions with final arg not named 'value' ... WARNING Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : package/namespace load failed Execution halted * checking Rd files ... OK * checking for missing documentation entries ... ERROR Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : Thanks for your help, Thomas Stabla
>>>>> "Thomas" == Thomas Stabla <statho3 at web.de> >>>>> on Wed, 10 Mar 2004 17:15:50 +0100 (CET) writes:Thomas> Hello, Thomas> I'm getting some error messages from R CMD check I can't deal with. Thomas> I'm working under Linux with R 1.8.1 Thomas> The package working directory can be found at: Thomas> http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.tar.gz Thomas> Here's the 00check.log produced by R CMD check distr I got it and I can confirm to get warnings / errors along these lines, also with today's "R-1.9.0 alpha" Thomas> * using log directory '/home/tom/studium/R/swp/swp/package/distr.Rcheck' Thomas> * checking for file 'distr/DESCRIPTION' ... OK Thomas> * checking if this is a source package ... OK Thomas> * checking package directory ... OK Thomas> * checking for portable file names ... OK Thomas> * checking for sufficient/correct file permissions ... OK Thomas> * checking DESCRIPTION meta-information ... OK Thomas> * checking index information ... OK Thomas> * checking package subdirectories ... WARNING Thomas> Subdirectory 'data' contains no data sets. Thomas> Subdirectory 'src' contains no source files. (so just delete these two directories for now; but that doesn't help for the real problem below !) Thomas> * checking R files for syntax errors ... OK Thomas> * checking R files for library.dynam ... OK Thomas> * checking S3 generic/method consistency ... WARNING Thomas> Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : Thomas> package/namespace load failed Thomas> Execution halted Thomas> * checking for replacement functions with final arg not named 'value' ... WARNING Thomas> Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : Thomas> package/namespace load failed Thomas> Execution halted Thomas> * checking Rd files ... OK Thomas> * checking for missing documentation entries ... ERROR Thomas> Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : Yes, unfortunately, you don't get better errors here. [[ -> feature request ;-) ]] But since "R CMD check" *does* install the package , you just load/attach it manually (using 'lib.loc = "..." !) and can see what the matter is : > library(distr, lib.loc="/u/maechler/R/other-people/distr.Rcheck") Error in loadNamespace(i[[1]], c(lib.loc, .libPaths()), keep.source) : package 'stepfun' does not have a name space Error in library(distr, lib.loc = "/u/maechler/R/other-people/distr.Rcheck") : package/namespace load failed Now this does help you further. Particularly for the above case, I'd recommend to ** Get and install "R-1.9.0 alpha" and exclusively work with R-1.9.x ** for the "distr" package. Reason: From 1.9.0 on, "stepfun" is part of "stats" - which *is* a namespace - and a "default package", i.e. you don't even have to say "library(stats)" by default. With high regards to the "distr" developers, Martin
Thomas Stabla wrote:> Hello, > > I'm getting some error messages from R CMD check I can't deal with. > I'm working under Linux with R 1.8.1 > The package working directory can be found at: > > http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.tar.gz > > > Here's the 00check.log produced by R CMD check distr > > * using log directory '/home/tom/studium/R/swp/swp/package/distr.Rcheck' > * checking for file 'distr/DESCRIPTION' ... OK > * checking if this is a source package ... OK > * checking package directory ... OK > * checking for portable file names ... OK > * checking for sufficient/correct file permissions ... OK > * checking DESCRIPTION meta-information ... OK > * checking index information ... OK > * checking package subdirectories ... WARNING > Subdirectory 'data' contains no data sets. > Subdirectory 'src' contains no source files.So, if you don't want to provide data files or C/C++/Fortran sources, you want to delete those directories. BTW: There's no documentation in that package ...> * checking R files for syntax errors ... OK > * checking R files for library.dynam ... OK > * checking S3 generic/method consistency ... WARNING > Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : > package/namespace load failedYour NAMESPACE file is syntactically incorrect (hint: you need to quote in exportPattern()). Please read "Writing R extensions", and please read the ReadMe files in all directories which have been created by package.skeleton(). Uwe Ligges> Execution halted > * checking for replacement functions with final arg not named 'value' ... WARNING > Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : > package/namespace load failed > Execution halted > * checking Rd files ... OK > * checking for missing documentation entries ... ERROR > Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : > > > Thanks for your help, > Thomas Stabla >
Possibly Parallel Threads
- request for comments --- package "distr" --- S4 Classes for Distributions
- Lazy Evaluation?
- after package reorganization: version 1.6 of package "distr" available; new packages "distrEx", "distrSim", "distrTEst", "RandVar"
- after package reorganization: version 1.6 of package "distr" available; new packages "distrEx", "distrSim", "distrTEst", "RandVar"
- version 1.5 of package "distr" available