[Rd] install.packages() fails if .libPaths() set
Hadley Wickham
h.wickham at gmail.com
Mon Oct 29 23:35:32 CET 2012
Reproducible example:
dir.create("test")
.libPaths("test")
install.packages("relations", type = "source")
Fails with:
...
* installing *source* package ‘relations’ ...
...
** testing if installed package can be loaded
*** arch - i386
Error : package ‘sets’ required by ‘relations’ could not be found
Error: loading failed
Execution halted
*** arch - x86_64
Error : package ‘sets’ required by ‘relations’ could not be found
Error: loading failed
Execution halted
ERROR: loading failed for ‘i386’, ‘x86_64’
If I don't set .libPaths() it installs without error.
This is on a fairly recent version of R-devel (Oct 3) and on R 2.15.1
Hadley
--
RStudio / Rice University
http://had.co.nz/
More information about the R-devel
mailing list