map.depends {packdep}R Documentation

Retrieve packages' dependencies

Description

Retrieve packages' dependencies from either a CRAN mirror or BioConductor.

Usage

  map.depends(repository = c("cran", "bioc"), 
    contriburl = contrib.url(getOption("repos"))) 

Arguments

repository a character string, either cran (for a CRAN mirror) or bioc (for BioConductor).
contriburl URL(s) of the contrib sections of the repositories.

Details

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.

Value

An object of class igraph, representing the dependencies as an directed acyciclic graph.

Author(s)

Radhakrishnan Nagarajan and Marco Scutari


[Package packdep version 0.2 Index]