compute_dependence_tree: Computes the dependence tree of a package

Description Usage Arguments Details See Also

View source: R/dependence_tree.R

Description

Computes the dependence tree of a package

Usage

1
compute_dependence_tree(x, package = NULL, generation = 0)

Arguments

x

a cranly_network object.

package

a vector of character strings with the package names to be matched. If Inf all available packages in x are returned. If NULL (default) nothing is matched.

generation

integer. The original generation for the package.

Details

Implements a recursion that computes the full dependence tree of a package from x. Specifically, the packages that are requirements for package (Depends, Imports or LinkingTo) are found, then the requirements for those packages are found, and so on.

See Also

build_dependence_tree.cranly_network


cranly documentation built on Oct. 9, 2019, 1:04 a.m.