Get dependencies

get_linkingto(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_depends, get_imports, get_linkingto, get_suggests, get_enhances, get_all_dependencies, get_reverse_linkingto

Examples

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