From hpages at fhcrc.org  Thu Jun  8 21:31:48 2006
From: hpages at fhcrc.org (Herve Pages)
Date: Thu, 08 Jun 2006 12:31:48 -0700
Subject: [Rd] install.packages("C",
 dep=TRUE) does not always install indirect dependencies
Message-ID: <44887B24.4080808@fhcrc.org>

Hello again,

I've found another issue with 'install.packages'.
'install.packages("C", dep=TRUE)' will "fail" when the 2 following
conditions are satisfied:
  - Package C depends on B which in turns depends on A but
    the Depends field in C doesn't list A.
  - Package B is already installed but not package A (e.g.
    the user did 'install.packages("B", dep=FALSE)').
Then 'install.packages("C", dep=TRUE)' will not install A.
May be this is the desired behavior, I don't know. Personally, I would
think of 'install.packages("C", dep=TRUE)' as a reliable way to get every
packages that C directly or indirectly relies on installed.

Best,

H.

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



[Rd] install.packages("C", dep=TRUE) does not always install indirect dependencies
Herve Pages