pkgDepImports: Report package imported functionality

Description Usage Arguments Details Value Author(s) Examples

View source: R/pkgDependencyMetrics.R

Description

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.

Usage

1

Arguments

pkg

character() name of the package for which we want to obtain the functionality calls imported from its dependencies and used within the package.

Details

Certain imported elements, such as built-in constants, will not be identified as imported functionality by this function.

Value

A tidy data frame with two columns:

Author(s)

Robert Castelo

Examples

1
pkgDepImports('BiocPkgTools')

BiocPkgTools documentation built on April 15, 2021, 6:01 p.m.