Dependency analysis on package vip

General information

CRAN link link
Package version0.3.2
Number of strong dependencies41
Number of all dependencies202
Number of parent packages7
Max heaviness from parent packages18
Total heaviness from parent packages21
Number of parent packages (including Suggests and Enhances)45
Max co-heaviness from parent packages ("ggplot2" and "tibble")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods grDevices stats graphics grid splines tools parallel stats4 lattice magrittr Matrix glue rlang digest R6 Rcpp ellipsis vctrs cli crayon lifecycle fansi pillar pkgconfig utf8 MASS withr tibble gtable isoband mgcv scales nlme farver labeling munsell RColorBrewer viridisLite colorspace codetools jsonlite yaml survival stringi base64enc stringr generics purrr tidyselect ggplot2 htmltools fastmap plyr foreach iterators data.table reshape2 libcoin mvtnorm globals dplyr tidyr cpp11 Formula htmlwidgets evaluate rpart backports matrixStats rappdirs RcppEigen highr xfun inum jquerylib lazyeval httr curl mime openssl askpass sys future.apply future listenv parallelly checkmate uuid modeltools strucchange coin zoo sandwich multcomp TH.data config rstudioapi rprojroot hardhat nnet Rdpack rbibutils plotmo TeachingDemos plotrix RCurl bitops Deriv shape crosstalk promises later rex lgr mlbench mlr3measures mlr3misc palmerpenguins paradox PRROC partykit Cubist measures party bslib knitr tinytex sass fs reticulate tensorflow tfruns zeallot RcppTOML here png processx tfautograph whisker ps abind gridExtra RcppArmadillo prettyunits ParamHelpers BBmisc parallelMap XML fastmatch assertthat blob DBI dbplyr forge r2d3 xml2 e1071 ModelMetrics pROC recipes class proxy gower ipred lubridate timeDate prodlim KernSmooth lava progressr numDeriv SQUAREM 0 1 2 Imported methods 0 20 40 60 80 Required packages 0 20 40 Heaviness from parents magrittr stats utils plyr gridExtra tibble ggplot2 mlbench randomForest nnet tinytest rpart RSNNS pls doParallel lattice Ckmeans.1d.dp earth h2o neuralnet htmlwidgets ranger xgboost gbm sparkline knitr Cubist partykit glmnet DT covr dplyr mlr3 party C50 varImp rmarkdown keras pdp fastshap parsnip mlr NeuralNetTools sparklyr caret In total 41 packages are required directly or indirectly (202) when installing 'vip' (0.3.2) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'vip' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on vip
ggplot2 Imports Parent package is listed in Imports of vip but no object from parent package is imported. 37 18
plyr Imports Parent package is listed in Imports of vip but no object from parent package is imported. 3 2
gridExtra Imports 1 0 0 5 1
magrittr Imports 2 0 0 0 0
stats Imports Parent package is listed in Imports of vip but no object from parent package is imported. 0 0
utils Imports Parent package is listed in Imports of vip but no object from parent package is imported. 0 0
tibble Imports Parent package is listed in Imports of vip but no object from parent package is imported. 15 0
caret Suggests No object is imported into the namespace of vip. 81 42
sparklyr Suggests No object is imported into the namespace of vip. 54 34
keras Suggests No object is imported into the namespace of vip. 39 23
mlr3 Suggests No object is imported into the namespace of vip. 24 21
rmarkdown Suggests No object is imported into the namespace of vip. 27 19
varImp Suggests No object is imported into the namespace of vip. 26 17
party Suggests No object is imported into the namespace of vip. 24 15
C50 Suggests No object is imported into the namespace of vip. 25 13
mlr Suggests No object is imported into the namespace of vip. 50 13
DT Suggests No object is imported into the namespace of vip. 20 12
covr Suggests No object is imported into the namespace of vip. 20 12
NeuralNetTools Suggests No object is imported into the namespace of vip. 51 12
parsnip Suggests No object is imported into the namespace of vip. 48 11
knitr Suggests No object is imported into the namespace of vip. 12 8
sparkline Suggests No object is imported into the namespace of vip. 11 7
partykit Suggests No object is imported into the namespace of vip. 15 7
glmnet Suggests No object is imported into the namespace of vip. 16 7
htmlwidgets Suggests No object is imported into the namespace of vip. 10 6
doParallel Suggests No object is imported into the namespace of vip. 5 5
earth Suggests No object is imported into the namespace of vip. 8 5
h2o Suggests No object is imported into the namespace of vip. 8 5
Cubist Suggests No object is imported into the namespace of vip. 15 5
Ckmeans.1d.dp Suggests No object is imported into the namespace of vip. 6 4
dplyr Suggests No object is imported into the namespace of vip. 20 4
pdp Suggests No object is imported into the namespace of vip. 41 4
fastshap Suggests No object is imported into the namespace of vip. 44 4
xgboost Suggests No object is imported into the namespace of vip. 10 3
gbm Suggests No object is imported into the namespace of vip. 11 3
tinytest Suggests No object is imported into the namespace of vip. 2 2
neuralnet Suggests No object is imported into the namespace of vip. 8 2
ranger Suggests No object is imported into the namespace of vip. 10 2
mlbench Suggests No object is imported into the namespace of vip. 0 1
randomForest Suggests No object is imported into the namespace of vip. 1 1
nnet Suggests No object is imported into the namespace of vip. 2 1
rpart Suggests No object is imported into the namespace of vip. 3 1
RSNNS Suggests No object is imported into the namespace of vip. 3 1
pls Suggests No object is imported into the namespace of vip. 4 1
lattice Suggests No object is imported into the namespace of vip. 5 0

The following table lists pairs of parent packages with co-heaviness larger than 10. The co-heaviness measures the number of additional dependencies that two parent packages simultaneously import and are only imported by the two parents.

Note the co-heaviness from parents can be always easily observed in the dependency heatmap.

Parent 1 Parent 2 Co-heaviness on vip Co-heaviness as Jaccard coeffcient
tibble ggplot2 12 0.4

Analysis was done with pkgndep.