pkgndep (version 1.0.0)

pkgndep: Number of Dependency Packages

Description

Number of Dependency Packages

Usage

pkgndep(pkg, verbose = TRUE)

Arguments

pkg

Package name or the path of the package.

verbose

Whether print messages.

Value

A pkgndep object.

Details

For each package listed in the "Depends", "Imports" and "Suggests" fields in the DESCRIPTION file, this function opens a new R session, loads the package and counts the number of namespaces that are loaded.

Examples

Run this code
# NOT RUN {
x = pkgndep("ComplexHeatmap")
# }
# NOT RUN {
# The `x` variable generated by `pkgndep()` is already saved in this package.
x = readRDS(system.file("extdata", "x.rds", package = "pkgndep"))
x
plot(x)
# }

Run the code above in your browser using DataCamp Workspace