upstream_dependency: Get upstream dependency for a package

View source: R/dependency.R

upstream_dependencyR Documentation

Get upstream dependency for a package

Description

Get upstream dependency for a package

Usage

upstream_dependency(package, snapshot = TRUE)

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.

Value

A data frame with all upstream packages.

Examples

## Not run: 
upstream_dependency("ComplexHeatmap")

## End(Not run)

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