[Rd] NAMESPACE problem: import(zoo) but 'zoo' could not be loaded
Spencer Graves
spencer.graves at prodsyse.com
Wed Dec 5 07:24:14 CET 2012
Hello:
I'm having problems creating a real NAMESPACE to replace the pro
forma one in the fda package on R-Forge. "R CMD check" complains,
"Error: package 'zoo' could not be loaded ... there is no package called
'zoo'"; see below. I get this both with and without "import(zoo)" in
NAMESPACE.
Suggestions?
Thanks,
Spencer
p.s. The current code including this problem can be obtained through
anonymous access via "svn checkout
svn://svn.r-forge.r-project.org/svnroot/fda/".
C:\Users\sgraves\2012\R_pkgs\fda>R CMD check fda_2.3.3.tar.gz
* using log directory 'C:/Users/sgraves/2012/R_pkgs/fda/fda.Rcheck'
* using R version 2.15.2 (2012-10-26)
* using platform: i386-w64-mingw32 (32-bit)
<snip>
* checking loading without being on the library search path ... WARNING
Loading required package: splines
Loading required package: zoo
Error: package 'zoo' could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
lib.loc)
:
there is no package called 'zoo'
Execution halted
It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] zoo_1.7-9
loaded via a namespace (and not attached):
[1] grid_2.15.2 lattice_0.20-10
More information about the R-devel
mailing list