[Rd] install.packages() does not warn when 'lib' arg is missing on Linux or Windows

Herve Pages hpages at fhcrc.org
Thu Jun 8 21:50:50 CEST 2006


Prof Brian Ripley wrote:
> On Thu, 8 Jun 2006, Herve Pages wrote:
>
>> Man page for 'install.packages' says that if the 'lib' arg is missing,
>> then it "defaults to '.libPaths()[1]' with a warning".
>> But, given the 'install.packages' source code, it seems that this 
>> warning
>> is issued only when 'length(.libPaths()) > 1'.
>
> Yes, and what is the problem with that?
Since current behaviour is not in sync with documentation then
IMHO it's either a documentation bug or an implementation bug.
Best,

H.

-- 
------------------------
Hervé Pagès
E-mail: hpages at fhcrc.org
 Phone: (206) 667-5791
   Fax: (206) 667-1319



More information about the R-devel mailing list