Computes the dependence tree of a package
compute_dependence_tree(x, package = NULL, generation = 0)
a cranly_network
object.
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.
integer. The original generation for the package.
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.