cranly (version 0.5.4)

compute_dependence_tree: 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