Learn R Programming

pkgndep (version 1.2.0)

upstream_dependency: Get upstream dependency for a package

Description

Get upstream dependency for a package

Usage

upstream_dependency(package, snapshot = TRUE)

Value

A data frame with all upstream packages.

Arguments

package

Package name.

snapshot

If it is TRUE, the package database generated on 2021-10-28 is used. If it is FALSE, the pakage database is directly retrieved from CRAN/Bioconductor.

Details

Upstream packages with relations of "Depends", "Imports" and "LinkingTo" are retrieved.

Examples

Run this code
if (FALSE) {
upstream_dependency("ComplexHeatmap")
}

Run the code above in your browser using DataLab