Dependency analysis on package pre

General information

CRAN link link
Package version1.0.4
Number of strong dependencies33
Number of all dependencies141
Number of parent packages11
Max heaviness from parent packages7
Total heaviness from parent packages21
Number of parent packages (including Suggests and Enhances)26
Max co-heaviness from parent packages ("partykit" and "rpart")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils stats methods grDevices graphics grid splines tools parallel stats4 lattice Matrix glue magrittr stringi survival Rcpp Formula rpart codetools iterators libcoin mvtnorm inum foreach RcppEigen plotmo TeachingDemos plotrix shape digest R6 rlang cli crayon ellipsis lifecycle withr fansi tibble pillar pkgconfig vctrs utf8 evaluate stringr MASS nlme jsonlite gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace plyr highr yaml xfun partykit brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 ggplot2 dplyr generics purrr tidyr tidyselect cpp11 sp stabs nnls quadprog bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs broom backports lme4 boot minqa nloptr testthat e1071 ModelMetrics pROC recipes reshape2 class proxy data.table gower hardhat ipred lubridate timeDate nnet prodlim KernSmooth lava future.apply progressr numDeriv SQUAREM future globals listenv parallelly 0 1 2 Imported methods 0 20 40 60 80 Required packages 0 20 40 60 Heaviness from parents graphics methods Formula rpart stringr Matrix earth MatrixModels survival partykit glmnet datasets grid mlbench foreach pROC doParallel akima knitr mboost rmarkdown testthat ggplot2 mice glmertree caret In total 33 packages are required directly or indirectly (141) when installing 'pre' (1.0.4) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'pre' Imported functions Imported S4 classes The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on pre
glmnet Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pre. 16 7
stringr Imports 2 0 0 7 5
earth Imports 1 0 0 8 4
partykit Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pre. 15 4
MatrixModels Imports 1 0 0 8 1
graphics Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pre. 0 0
methods Imports 2 0 0 0 0
Formula Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pre. 1 0
rpart Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pre. 3 0
Matrix Imports 1 0 1 7 0
survival Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pre. 9 0
caret Suggests No object is imported into the namespace of pre. 81 62
glmertree Suggests No object is imported into the namespace of pre. 57 37
mice Suggests No object is imported into the namespace of pre. 50 36
testthat Suggests No object is imported into the namespace of pre. 36 29
ggplot2 Suggests No object is imported into the namespace of pre. 37 27
rmarkdown Suggests No object is imported into the namespace of pre. 27 19
knitr Suggests No object is imported into the namespace of pre. 12 5
mboost Suggests No object is imported into the namespace of pre. 20 5
pROC Suggests No object is imported into the namespace of pre. 4 2
doParallel Suggests No object is imported into the namespace of pre. 5 2
akima Suggests No object is imported into the namespace of pre. 8 2
datasets Suggests No object is imported into the namespace of pre. 0 1
mlbench Suggests No object is imported into the namespace of pre. 0 1
grid Suggests No object is imported into the namespace of pre. 0 0
foreach Suggests No object is imported into the namespace of pre. 3 0

Analysis was done with pkgndep.