Get reverse dependencies

get_reverse_depends(packages, level = 1L)

Arguments

packages

(non-empty character vector) Package names

level

(positive integer) Depth of recursive dependency

Value

A tibble with three columns: `pkg_1`, `relation` and `pkg_2`

See also

get_reverse_depends, get_reverse_imports, get_reverse_linkingto, get_reverse_suggests, get_reverse_enhances, get_all_reverse_dependencies, get_depends

Examples

pkggraph::init(local = TRUE)
#> Using 'local' data ...
#> To fetch data from CRAN over internet, run:
#> `pkggraph::init(local = FALSE)`
#> Done!
pkggraph::get_reverse_depends("utils")
#> Error in get_dependencies(packages = packages, type = "Depends", level = level, reverse = TRUE): Unable to find `deptable`. Please run `pkggraph::init(local = TRUE)`.