Heaviness on all child packages

heaviness_on_children(package, add_values_attr = FALSE, total = FALSE)

Arguments

package

A package name.

add_values_attr

Whether to include "values" attribute? Internally used.

total

Whether to return the total heaviness?

Details

It is calculated based on a specific CRAN/Bioconductor snapshot. The version is set via pkgndep_opt$heaviness_db_version.

Value

The value is the mean heaviness of the package on all its child packages.

Examples

# \dontrun{
heaviness_on_children("ComplexHeatmap")
#> [1] 9.157895
#> attr(,"all_children_pkgs")
#> [1] 76
# }