Thanks to Martin, my 'RD' script now points to

  ~/.R/check.Renviron-Rdevel

in which I also set (or re-set)

  R_LIBS="/usr/local/lib/R-devel/site-library/"

after having added this (for good measure) to my 'RD' script:

  unset R_PROFILE R_RENVIRON R_LIBS
  export R_CHECK_ENVIRON=~/.R/check.Renviron-Rdevel

as suggested by Martin.

I tend not to have R_PROFILE or R_ENVIRON because I find environment variable
harder to control (my choice is direct settings in $RHOME/etc/Rprofile.site
or $RHOME/etc/Renviron.site) but here the switch to R_LIBS did me in.

Thanks again for the hint!

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to