parent_dependency: Get parent dependency for a package

View source: R/dependency.R

parent_dependencyR Documentation

Get parent dependency for a package

Description

Get parent dependency for a package

Usage

parent_dependency(package, fields = NULL, snapshot = TRUE)

Arguments

package

Package name.

fields

Which fields in DESCRIPTION? Values should be in Depends, Imports, LinkingTo, Suggests and Enhances.

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

The dependency information is based on packages retrieved from CRAN/Bioconductor on 2021-10-28.

Value

A data frame with parent packages as well as their heaviness on pacakge. If snapshot is set to FALSE, heaviness on child packages is set to NA.

Examples

## Not run: 
parent_dependency("ComplexHeatmap")

## End(Not run)

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