getInstallOrder {pkgDepTools} | R Documentation |
This function uses a dependency graph created with
makeDepGraph
to list all (recursive) dependencies of a
given package in an order suitable for installation.
getInstallOrder(pkg, depG, needed.only = TRUE)
pkg |
character string name of package |
depG |
graphNEL instance as returned from
makeDepGraph .
|
needed.only |
logical value. When TRUE , only those
dependencies not currently installed are included in the list,
this is the default. When FALSE the complete list of
dependencies is given regardless of the set of currently
installed packages. |
a list with components:
packages |
character vector of package names in an order suitable for installation. The order is not unique. The names of the character vector are the estimated download sizes of each package. |
total.size |
When available, the total size in megabytes of all listed dependencies. |
Seth Falcon