Find Reverse Dependencies
Find reverse dependencies of packages, that is those packages which depend on this one, and (optionally) so on recursively.
dependsOnPkgs(pkgs, dependencies = c("Depends", "Imports", "LinkingTo"), recursive = TRUE, lib.loc = NULL, installed = installed.packages(lib.loc, fields = "Enhances"))
- a character vector of package names.
- a character vector listing the types of
dependencies, a subset of
c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances"). Character string
"all"is shorthand for that vector.
- logical: should reverse dependencies of reverse dependencies (and so on) be included?
- a character vector of R library trees, or
NULLfor all known trees (see
- a result of calling
A character vector of package names, which does not include any from
## there are few dependencies in a vanilla R installation: ## lattice may not be installed dependsOnPkgs("lattice")
Looks like there are no examples yet.