pkgndep: Package dependency analysis

View source: R/pkgndep.R

pkgndepR Documentation

Package dependency analysis

Description

Package dependency analysis

Usage

pkgndep(package, load = FALSE, verbose = TRUE, online = TRUE)

Arguments

package

Package name. The value should be 1. a CRAN/Bioconductor package, 2. an installed package, 3. a path of a local package, 4. URL of a GitHub repository.

load

Check which other packages are loaded into R session (directly or indirectly) when loading pkg.

verbose

Whether to show messages.

online

If the value is TRUE, it will directly use the package database file from CRAN/Bioconductor. If the value is FALSE, it uses the cached package database retrieved on 2021-10-28.

Details

The package database for dependency analysis is always directly retrieved from CRAN/Bioconductor.

Value

A pkgndep object.

Examples

## Not run: 
x = pkgndep("ComplexHeatmap")

## End(Not run)
# The `x` variable generated by `pkgndep()` is already saved in this package.
x = readRDS(system.file("extdata", "ComplexHeatmap_dep.rds", package = "pkgndep"))
x
plot(x)

jokergoo/pkgndep documentation built on Aug. 22, 2022, 2:57 a.m.