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

From: Tuszynski, Jaroslaw W. <JAROSLAW.W.TUSZYNSKI_at_saic.com>
Date: Tue 04 Oct 2005 - 04:41:21 EST


Maybe you forgot to list the name of dependent package in 'Depends' section of 'DESCRIPTION' file. I think that would have effect you describe. See

http://cran.r-project.org/doc/manuals/R-exts.html#The-DESCRIPTION-file for details.

Jarek

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] Sent: Monday, October 03, 2005 2:05 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Library error when using R CMD check

Hi,

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?

I'm sorry if this is vague, but I'm pretty thoroughly confused here...

This is Mac OS X 10.3...but I am trying to build a source library that will be cross-platform (there is only R code / no C code or anything fancy...sourcing my scripts from this library works on mac and win2k pro)...

Thanks in advance,
Ken



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

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 04:43:48 2005

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