map.depends {packdep} | R Documentation |
Retrieve packages' dependencies from either a CRAN mirror or BioConductor.
map.depends(repository = c("cran", "bioc"), contriburl = contrib.url(getOption("repos")))
repository |
a character string, either cran (for a CRAN mirror)
or bioc (for BioConductor). |
contriburl |
URL(s) of the contrib sections of the repositories. |
This function uses available.packages
to get the
Depends, Imports and Suggests for all packages in a CRAN
or BioConductor mirror.
If repository
is set to bioc
, the contriburl
parameter is ignored and the URL of BioConductor is set via the
biocinstallRepos
function.
An object of class igraph
, representing the dependencies
as an directed acyciclic graph.
Radhakrishnan Nagarajan and Marco Scutari