[Rd] a package depending on other packages does not pass checking on windows

From: Mstislav Elagin <elagin_at_wias-berlin.de>
Date: Mon, 29 Oct 2007 23:45:36 +0100


Dear developers,

I am writing a package that depends on some other packages. The dependencies are stated in the `description' file under "Depends". They are installed in my private library, which is pointed to by setting R_LIBS in .Renviron, and are available if R is started normally. However, when I try to `R CMD check' my package, R complains about the dependencies being not available. I believe the reason is the option --vanilla set in $R_HOME/bin/check that prevents R from reading my .Renviron.
This problem manifests itself with R 2.5.1 under Windows XP but not with the same version under Linux. (Yes, I know this is not the latest version, sorry about that :) )

How do I convince `R CMD check' to find the packages installed in the private library?

Thanks in advance for your help!

WBR Mstislav Elagin



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 29 Oct 2007 - 22:44:50 GMT

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 Tue 30 Oct 2007 - 07:30:13 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.