Hi all,

I'm trying to check a package using R CMD check --as-cran <package>.  When
I do so, the check fails upon not finding the dependencies which I have
installed in a non-standard location.  Per the manual, I created
~/.R/check.Renviron :

$ cat ~/.R/check.Renviron
R_LIBS=/usr/lib64/R/library:/usr/lib64/R/var
R_LIBS_SITE=/usr/lib64/R/library:/usr/lib64/R/var

No luck.  I tried explicitly pointing R_CHECK_ENVIRON to
~/.R/check.Renviron:

$ echo $R_CHECK_ENVIRON
/root/.R/check.Renviron

Still no luck.  Finally, I just set R_LIBS globally (which, was empty)
before running the check and the dependencies are then found.  Just wanted
to be sure I'm not missing something before creating a bug report.

This is on Ubuntu 10.04 with R-3.0.2, as root.

Many thanks...

-- 
Daniel G Polhamus, PhD
Metrum Research Group, LLC

	[[alternative HTML version deleted]]

