Dependency analysis on package rms

General information

CRAN link link
Package version6.3-0
Number of strong dependencies78
Number of all dependencies121
Number of parent packages16
Max heaviness from parent packages10
Total heaviness from parent packages19
Number of parent packages (including Suggests and Enhances)24
Max co-heaviness from parent packages ("Hmisc" and "ggplot2")23

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats utils graphics grDevices methods grid splines tools stats4 parallel lattice Matrix digest glue MASS rlang magrittr gtable isoband mgcv scales tibble withr RColorBrewer viridisLite nlme farver labeling lifecycle munsell R6 ellipsis fansi pillar pkgconfig vctrs colorspace cli crayon utf8 base64enc stringr fastmap stringi yaml survival ggplot2 htmltools htmlwidgets evaluate highr xfun backports jsonlite data.table knitr checkmate rstudioapi Formula latticeExtra cluster rpart nnet foreign gridExtra htmlTable viridis png jpeg SparseM MatrixModels mvtnorm TH.data sandwich codetools zoo Rcpp tidyr dplyr purrr tidyselect cpp11 generics broom httr lazyeval crosstalk promises curl mime openssl later askpass sys rms RcppParallel rstan rstantools Hmisc loo BH RcppEigen StanHeaders quantreg polspline multcomp inline pkgbuild desc matrixStats callr prettyunits rprojroot processx ps 0 5 10 15 Imported methods 0 50 100 Required packages 0 10 20 Heaviness from parents SparseM lattice survival ggplot2 Hmisc methods digest polspline rpart cluster MASS nlme htmltools quantreg multcomp htmlTable tcltk boot nnet VGAM knitr mice plotly rmsb In total 78 packages are required directly or indirectly (121) when installing 'rms' (6.3-0) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'rms' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on rms
Hmisc Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rms. 67 10
SparseM Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rms. 4 0
lattice Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rms. 5 0
survival Depends 16 0 0 9 0
ggplot2 Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rms. 37 0
multcomp Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rms. 16 6
quantreg Imports 3 0 0 13 2
polspline Imports 2 0 0 2 1
methods Imports 3 0 0 0 0
digest Imports 1 0 0 1 0
rpart Imports 3 0 0 3 0
cluster Imports 1 0 0 4 0
MASS Imports 3 0 0 5 0
nlme Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rms. 6 0
htmltools Imports 1 0 0 6 0
htmlTable Imports 2 0 0 24 0
rmsb Suggests No object is imported into the namespace of rms. 98 21
plotly Suggests No object is imported into the namespace of rms. 63 18
mice Suggests No object is imported into the namespace of rms. 50 9
VGAM Suggests No object is imported into the namespace of rms. 4 2
tcltk Suggests No object is imported into the namespace of rms. 0 1
boot Suggests No object is imported into the namespace of rms. 2 1
nnet Suggests No object is imported into the namespace of rms. 2 0
knitr Suggests No object is imported into the namespace of rms. 12 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 rms Co-heaviness as Jaccard coeffcient
ggplot2 Hmisc 23 0.697
Hmisc htmlTable 14 0.583

Analysis was done with pkgndep.