compute_dependence_tree: Computes the dependence tree of a package

View source: R/dependence_tree.R

compute_dependence_treeR Documentation

Computes the dependence tree of a package

Description

Computes the dependence tree of a package

Usage

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 Aug. 27, 2022, 1:07 a.m.