Re: [Rd] NAMESPACE problem: import(zoo) but 'zoo' could not be loaded

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Wed, 05 Dec 2012 14:10:58 -0500

On 12-12-05 1:24 AM, Spencer Graves wrote:
> 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.

This message is printed by tools when there's an error when it tries to load a package (not sure if it's yours or zoo) that is not in the .libPaths. There might be more details in the check log.

What does it say there?

Duncan Murdoch
>
>
>
>
> > 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
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 05 Dec 2012 - 19:15:03 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 05 Dec 2012 - 19:32:57 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive