Dependency analysis on package xgboost

General information

CRAN link link
Package version1.6.0.1
Number of strong dependencies10
Number of all dependencies117
Number of parent packages4
Max heaviness from parent packages7
Total heaviness from parent packages9
Number of parent packages (including Suggests and Enhances)16

Dependency heatmap

In the following dependency heatmap, rows are the parent packages of xgboost 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 xgboost.

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils stats grDevices graphics grid tools splines lattice magrittr glue pkgconfig rlang digest R6 evaluate stringr yaml stringi jsonlite tibble withr lifecycle ellipsis fansi pillar vctrs cli crayon utf8 Matrix MASS colorspace highr xfun rstudioapi htmltools knitr base64enc fastmap brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 gtable isoband mgcv scales nlme farver labeling munsell RColorBrewer viridisLite Rcpp Rdpack rbibutils lmtest zoo bslib jquerylib tinytex sass fs rappdirs rex codetools cyclocomp testthat httr xml2 xmlparsedata lazyeval remotes curl mime openssl askpass sys dplyr downloader htmlwidgets igraph influenceR purrr readr tidyr viridis visNetwork generics tidyselect clipr hms vroom cpp11 tzdb ggplot2 gridExtra bit64 progress bit prettyunits 0 2 4 6 8 Imported methods 0 20 40 60 Required packages 0 20 40 60 Heaviness from parents methods data.table jsonlite Matrix titanic float crayon Ckmeans.1d.dp igraph vcd knitr rmarkdown testthat ggplot2 lintr DiagrammeR In total 10 packages are required directly or indirectly (117) when installing 'xgboost' (1.6.0.1) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'xgboost' Imported functions Imported S4 classes The whole namespace is imported


Dependency table

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

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 xgboost: number of required packages that can be reduced if moving parent package to Suggests of xgboost.

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on xgboost
Matrix Imports 5 0 2 7 7
data.table Imports 8 0 0 1 1
jsonlite Imports 2 0 0 1 1
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of xgboost. 0 0
DiagrammeR Suggests No object is imported into the namespace of xgboost. 69 61
lintr Suggests No object is imported into the namespace of xgboost. 56 51
testthat Suggests No object is imported into the namespace of xgboost. 36 31
ggplot2 Suggests No object is imported into the namespace of xgboost. 37 30
rmarkdown Suggests No object is imported into the namespace of xgboost. 27 23
knitr Suggests No object is imported into the namespace of xgboost. 12 10
Ckmeans.1d.dp Suggests No object is imported into the namespace of xgboost. 6 5
vcd Suggests No object is imported into the namespace of xgboost. 11 5
igraph Suggests No object is imported into the namespace of xgboost. 10 3
float Suggests No object is imported into the namespace of xgboost. 3 2
titanic Suggests No object is imported into the namespace of xgboost. 0 1
crayon Suggests No object is imported into the namespace of xgboost. 3 1

Analysis was done with pkgndep.