deps {pkgdepR} | R Documentation |
Get environment dependency object
Description
This function creates an object of class pkgdepR
, representing the network of function calls between one or more packages.
Usage
deps(pkg, exported_only = FALSE)
Arguments
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. |
Details
An object of class pkgdepR
is a list with three named objects:
funs
: a data frame describing the functions. Contains columnsid
,label
,package
,exported
,group
, andname
.links
: a data frame containing the linkages between functions. Contains columnsfrom
andto
.pkg
: a character vector containing the packages explored.
Value
An object of class pkgdepR
.
Examples
library(pkgdepR)
deps(pkg = "pkgdepR")
[Package pkgdepR version 1.0.0 Index]