Learn R Programming

pkgndep (version 1.1.3)

child_dependency: Get child dependency for a package

Description

Get child dependency for a package

Usage

child_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.

Value

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

Details

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

Examples

Run this code
# NOT RUN {
child_dependency("ComplexHeatmap")
# }

Run the code above in your browser using DataLab