Re: [R] Library error when using R CMD check

From: Paul Roebuck <roebuck_at_wotan.mdacc.tmc.edu>
Date: Tue 04 Oct 2005 - 05:24:57 EST

On Mon, 3 Oct 2005, Ken Termiso wrote:

> I've got a library I'm trying to build, and am having an error on R CMD
> check...
>
> The source is fine, and the script runs OK, but during the script test
> execution it downloads a library from an online repository, which goes fine
> and it says that installation was successful...
>
> However, after it installs the library OK, it then cannot find it (despite
> it being installed properly in the R installation even before I ran R CMD
> check)...it is looking in the working directory's .Rcheck folder, and halts
> because it cannot find it there...
>
> I'm not sure at all what I'm sup'd to do...?? Is there a way for me to tell
> R CMD check to only look for installed libraries in another place?

This help any?

$ R_LIBS=<colon separated pathname list> $ env R_LIBS=$R_LIBS R CMD check <pkgname>

Note that the first line would normally corespond to the entry of the same name in your <~/.Renviron> file. In the case of Mac OS X, it should normally be:

    R_LIBS=~/Library/R/library



SIGSIG -- signature too long (core dumped)

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Oct 04 05:31:56 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:15:42 EST