Dependency analysis on package gbm

General information

CRAN link link
Package version2.1.8
Number of strong dependencies11
Number of all dependencies69
Number of parent packages3
Max heaviness from parent packages4
Total heaviness from parent packages5
Number of parent packages (including Suggests and Enhances)12
Max co-heaviness from parent packages ("survival" and "lattice")6

Dependency heatmap

In the following dependency heatmap, rows are the parent packages of gbm and columns are the dependency packages that each parent package brings in. On the right side of the heatmap, there are three barplot annotations: 1. number of imported functions/S4 methods/S4 classes from parent packages; 2. number of dependency packages from each parent package; 3. heaviness of each parent package on gbm.

Adjust heatmap size:
Base packages Other packages Imports Suggests utils graphics grDevices stats methods grid splines tools parallel Matrix lattice gtable glue magrittr digest crayon withr R6 ggplot2 rlang isoband MASS mgcv scales tibble nlme farver labeling lifecycle munsell RColorBrewer viridisLite ellipsis fansi pillar pkgconfig vctrs colorspace cli utf8 yaml gridExtra evaluate highr stringr xfun stringi jsonlite rex httr lazyeval curl mime openssl askpass sys foreach codetools iterators plyr Rcpp 0 0.5 1 Imported methods 0 20 40 Required packages 0 10 20 30 Heaviness from parents parallel lattice survival splines tinytest RUnit gridExtra knitr covr viridis pdp vip In total 11 packages are required directly or indirectly (69) when installing 'gbm' (2.1.8) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'gbm' Imported functions The whole namespace is imported Package is listed in 'Imports' but namespace is not imported


Dependency table

"Import" information is from the NAMESPACE file of gbm.

imports: number of imported functions/objects; importMethods: number of imported S4 methods; importClasses: number of imported S4 classes.

Required packages: number of strong dependency packages for each of the parent package (or in other words, number of dependency packages the parent package brings in).

Heaviness from parent on gbm: number of required packages that can be reduced if moving parent package to Suggests of gbm.

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on gbm
survival Imports 1 0 0 9 4
parallel Imports Parent package is listed in Imports of gbm but no object from parent package is imported. 0 1
lattice Imports The whole set of functions/methods/classes from parent package is imported to the namespace of gbm. 5 0
pdp Suggests No object is imported into the namespace of gbm. 41 33
vip Suggests No object is imported into the namespace of gbm. 41 33
viridis Suggests No object is imported into the namespace of gbm. 39 31
covr Suggests No object is imported into the namespace of gbm. 20 16
knitr Suggests No object is imported into the namespace of gbm. 12 10
gridExtra Suggests No object is imported into the namespace of gbm. 5 2
tinytest Suggests No object is imported into the namespace of gbm. 2 1
RUnit Suggests No object is imported into the namespace of gbm. 3 1
splines Suggests No object is imported into the namespace of gbm. 0 0

Analysis was done with pkgndep.