From h.wickham at gmail.com  Mon Oct 29 23:35:32 2012
From: h.wickham at gmail.com (Hadley Wickham)
Date: Mon, 29 Oct 2012 17:35:32 -0500
Subject: [Rd] install.packages() fails if .libPaths() set
Message-ID: <CABdHhvHhi_paqqK1wUhqcg0KqOeh2YTHX-FszNHwhFYbZfb5wg@mail.gmail.com>

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/



[Rd] install.packages() fails if .libPaths() set
Hadley Wickham