Get environment dependency object
deps.Rd
This function creates an object of class pkgdepR
, representing the network of function calls between one or more packages.
Arguments
- pkg
A character vector of the environments to explore. Should be on the search path. Cannot be
base
.- exported_only
Whether to include non-exported functions.
Examples
library(pkgdepR)
deps(pkg = "pkgdepR")
#>
#> pkgdepR object
#> ------------------------------
#> Packages: pkgdepR
#> Total nodes: 15
#> Total links: 18
#> -Between packages: 0
#> -Within packages: 18
#> --Between functions: 17
#> --Self-referential: 1
#>