Description Usage Arguments Details Value Author(s) Examples
View source: R/pkgDependencyMetrics.R
Function adapted from 'itdepends::dep_usage_pkg' at https://github.com/r-lib/itdepends to obtain the functionality imported and used by a given package.
1 | pkgDepImports(pkg)
|
pkg |
character() name of the package for which we want to obtain the functionality calls imported from its dependencies and used within the package. |
Certain imported elements, such as built-in constants, will not be identified as imported functionality by this function.
A tidy data frame with two columns:
pkg
: name of the package dependency.
fun
: name of the functionality call imported from the
the dependency in the column pkg
and used within
the analyzed package.
Robert Castelo
1 | pkgDepImports('BiocPkgTools')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.