From hpages at fhcrc.org  Thu Jun  8 21:50:50 2006
From: hpages at fhcrc.org (Herve Pages)
Date: Thu, 08 Jun 2006 12:50:50 -0700
Subject: [Rd] install.packages() does not warn when 'lib' arg is missing
 on Linux or Windows
In-Reply-To: <Pine.LNX.4.64.0606082017380.28635@gannet.stats.ox.ac.uk>
References: <448875CA.60901@fhcrc.org>
	<Pine.LNX.4.64.0606082017380.28635@gannet.stats.ox.ac.uk>
Message-ID: <44887F9A.7000407@fhcrc.org>

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



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