Dependency analysis on package riskRegression

General information

CRAN link link
Package version2022.03.22
Number of strong dependencies104
Number of all dependencies186
Number of parent packages21
Max heaviness from parent packages32
Total heaviness from parent packages40
Number of parent packages (including Suggests and Enhances)42
Max co-heaviness from parent packages ("rms" and "ggplot2")27

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports LinkingTo Suggests stats utils methods graphics grDevices grid splines tools parallel compiler stats4 Matrix lattice survival digest codetools MASS rlang Rcpp nlme glue mgcv tibble lifecycle R6 RColorBrewer viridisLite ellipsis fansi magrittr pillar pkgconfig vctrs cli crayon utf8 numDeriv data.table withr future.apply progressr SQUAREM future globals listenv parallelly mvtnorm gtable isoband scales farver labeling munsell colorspace lava ggplot2 iterators KernSmooth RcppArmadillo multcomp TH.data sandwich zoo stringr rstudioapi stringi backports jsonlite foreach htmltools nnet gridExtra viridis base64enc checkmate htmlwidgets fastmap evaluate yaml RcppEigen timereg prodlim Hmisc SparseM quantreg rpart polspline htmlTable cluster Formula latticeExtra foreign MatrixModels knitr png jpeg highr xfun dplyr generics purrr tidyr tidyselect cpp11 VGAM plyr R.methodsS3 R.oo R.utils R.cache abind nnls gam cvAUC ROCR gplots gtools caTools bitops modeltools strucchange coin libcoin matrixStats brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 geepack broom assertthat deSolve mstate muhaz quadprog rstpm2 bbmle fastGHQuad BH bdsmatrix data.tree DiagrammeR downloader igraph influenceR readr visNetwork clipr hms vroom tzdb bit64 progress bit prettyunits rms riskRegression cmprsk doParallel mets plotrix Publish ranger 0 10 20 30 Imported methods 0 50 100 Required packages 0 10 20 30 Heaviness from parents graphics parallel stats data.table mvtnorm Rcpp foreach plotrix doParallel lattice survival cmprsk ranger lava timereg prodlim mets Publish ggplot2 rms RcppArmadillo nnls numDeriv randomForest boot rpart pROC R.rsp mgcv gbm scam penalized mstate smcfcs SuperLearner party testthat casebase ipw flexsurv randomForestSRC pec In total 104 packages are required directly or indirectly (186) when installing 'riskRegression' (2022.03.22) Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'riskRegression' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on riskRegression
rms Imports 2 0 0 78 32
ranger Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 10 2
mets Imports 1 0 0 28 2
plotrix Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 4 1
doParallel Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 5 1
cmprsk Imports 1 0 0 10 1
Publish Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 33 1
graphics Imports 15 0 0 0 0
parallel Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 0 0
stats Imports 38 0 0 0 0
data.table Imports 17 0 0 1 0
mvtnorm Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 2 0
Rcpp Imports 2 0 0 2 0
foreach Imports 2 0 0 3 0
lattice Imports Parent package is listed in Imports of riskRegression but no object from parent package is imported. 5 0
survival Imports 4 0 0 9 0
lava Imports 7 0 0 22 0
timereg Imports 2 0 0 23 0
prodlim Imports 5 0 0 25 0
ggplot2 Imports 25 0 0 37 0
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of riskRegression but no object from parent package is imported. 4 0
randomForestSRC Suggests No object is imported into the namespace of riskRegression. 72 22
flexsurv Suggests No object is imported into the namespace of riskRegression. 53 18
testthat Suggests No object is imported into the namespace of riskRegression. 36 12
SuperLearner Suggests No object is imported into the namespace of riskRegression. 19 9
ipw Suggests No object is imported into the namespace of riskRegression. 52 9
party Suggests No object is imported into the namespace of riskRegression. 24 7
R.rsp Suggests No object is imported into the namespace of riskRegression. 9 5
smcfcs Suggests No object is imported into the namespace of riskRegression. 17 4
casebase Suggests No object is imported into the namespace of riskRegression. 42 3
pROC Suggests No object is imported into the namespace of riskRegression. 4 2
pec Suggests No object is imported into the namespace of riskRegression. 105 2
nnls Suggests No object is imported into the namespace of riskRegression. 0 1
randomForest Suggests No object is imported into the namespace of riskRegression. 1 1
boot Suggests No object is imported into the namespace of riskRegression. 2 1
gbm Suggests No object is imported into the namespace of riskRegression. 11 1
scam Suggests No object is imported into the namespace of riskRegression. 11 1
penalized Suggests No object is imported into the namespace of riskRegression. 12 1
mstate Suggests No object is imported into the namespace of riskRegression. 14 1
numDeriv Suggests No object is imported into the namespace of riskRegression. 0 0
rpart Suggests No object is imported into the namespace of riskRegression. 3 0
mgcv Suggests No object is imported into the namespace of riskRegression. 10 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 riskRegression Co-heaviness as Jaccard coeffcient
ggplot2 rms 27 0.458

Analysis was done with pkgndep.