From Max.Kuhn at pfizer.com  Wed Nov 14 16:39:43 2007
From: Max.Kuhn at pfizer.com (Kuhn, Max)
Date: Wed, 14 Nov 2007 10:39:43 -0500
Subject: [Rd] package installation order
In-Reply-To: <18235.3307.38745.255091@ron.nulle.part>
Message-ID: <71257D09F114DA4A8E134DEAC70F25D30A25B687@groamrexm03.amer.pfizer.com>

Dirk,

Thanks for the email. 

> When trying to package the by-now-gargantuan Rmetrics for Debian
(which is
> still ongoing), I looked around for some Depends builders. Turns out
that
> BioC has this.   E.g. the following worked for:
> 
> ## > install.packages("Biobase", repo="http://www.bioconductor.org")
> ## > repos <- Biobase:::biocReposList()
> ## > install.packages("pkgDepTools", repos=repos["bioc"])
> ## > library(pkgDepTools)
> ## Loading required package: graph
> ## Loading required package: RBGL
> ## > CRANdeps <- makeDepGraph(repos["cran"], type="source")
> ## > getInstallOrder("Rmetrics", CRANdeps, needed.only=FALSE)
> 
> worked for me.  I meant to add some code for Graphviz visualization
(or look
> for it, Seth et al probably already wrote it) but what you get from
> getInstallOrder() should suit your needs here.

That should approximate it. The dependencies for some packages will have
changed since my snapshot. Next time I'll get the CRAN dependencies when
I get the packages.

Max



[Rd] package installation order
Kuhn, Max