Description Usage Arguments Value Author(s)
Functions to work with CRAN package depencency graph.
1 2 3 | DependencyGraph(deps, state, types=c("depends", "imports", "linkingto"))
Dependencies(graph, nodes, type="out", min.dist=0, max.dist=Inf)
GraphSubset(graph, nodes, type)
|
deps |
Dependencies. |
state |
data.frame with CRAN packages. |
types |
Types of dependencies to take into account. |
graph |
Dependency graph |
nodes |
A character vector containing package name |
type |
Direcotion of the dependency ("out" for dependency and "in" for reverse dependency). |
min.dist |
Only packages with a greater or equal distance to one of the nodes will be considerd. |
max.dist |
Only packages with a strictly smaller distance to one of the nodes will be considerd. |
DependencyGraph
returns the dependency graph for a given state
of CRAN.
Dependencies
returns all packages reachable in the graph from
or to a set of packages regarding minimum and maximum distances.
GraphSubset
returns the subset of the dependency graph
including as nodes all nodes returned by Dependencies
.
Maëlick Claes <himself@maelick.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.