deps | R Documentation |
This function creates an object of class pkgdepR
, representing the network of function calls between one or more packages.
deps(pkg, exported_only = FALSE)
pkg |
A character vector of the environments to explore. Should be on the search path. Cannot be |
exported_only |
Boolean. Whether to include non-exported functions. |
An object of class pkgdepR
is a list with three named objects:
funs
a data frame describing the functions. Contains columns id
, label
, package
, exported
, group
, and name
.
links
a data frame containing the linkages between functions. Contains columns from
and to
.
pkg
a character vector containing the packages explored.
An object of class pkgdepR
.
library(pkgdepR)
deps(pkg = "pkgdepR")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.