Learn R Programming

pkgndep (version 1.99.3)

child_dependency: Get child dependency for a package

Description

Get child dependency for a package

Usage

child_dependency(package, fields = NULL, online = FALSE)

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.

Arguments

package

Package name.

fields

Which fields in DESCRIPTION? Values should be in Depends, Imports, LinkingTo, Suggests and Enhances. The value can also be set to strong or weak.

online

Whether use the newest package database directly from CRAN/Bioconductor or the pre-computated package database? The version of the pre-computated package database can be set via pkgndep_opt$heaviness_db_version.

Examples

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

Run the code above in your browser using DataLab