maintaineR.deps: Dependencies

Description Usage Arguments Value Author(s)

Description

Functions to work with CRAN package depencency graph.

Usage

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)

Arguments

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.

Value

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.

Author(s)

Maëlick Claes <himself@maelick.net>


ecos-umons/maintaineR documentation built on May 15, 2019, 10:07 p.m.