dependsOnPkgs {tools} | R Documentation |
Find ‘reverse’ dependencies of packages, that is those packages which depend on this one, and (optionally) so on recursively.
dependsOnPkgs(pkgs,
dependencies = "strong",
recursive = TRUE, lib.loc = NULL,
installed =
utils::installed.packages(lib.loc, fields = "Enhances"))
pkgs |
a character vector of package names. |
dependencies |
a character vector listing the types of
dependencies, a subset of
|
recursive |
logical: should reverse dependencies of reverse dependencies (and so on) be included? |
lib.loc |
a character vector of R library trees, or |
installed |
a result of calling |
A character vector of package names, which does not include any from
pkgs
.
package_dependencies()
to get the regular
(“forward”) dependencies of a package.
## there are few dependencies in a vanilla R installation:
## lattice may not be installed
dependsOnPkgs("lattice")