Dependency analysis on package Hmisc

General information

CRAN link link
Package version4.7-0
Number of strong dependencies67
Number of all dependencies105
Number of parent packages18
Max heaviness from parent packages14
Total heaviness from parent packages25
Number of parent packages (including Suggests and Enhances)28
Max co-heaviness from parent packages ("viridis" and "ggplot2")23

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats utils grDevices methods graphics grid splines tools stats4 digest glue rlang magrittr lattice Matrix gtable RColorBrewer isoband MASS mgcv scales tibble withr nlme farver labeling lifecycle munsell R6 viridisLite ellipsis fansi pillar pkgconfig vctrs colorspace cli crayon utf8 base64enc fastmap stringr stringi yaml htmltools evaluate highr xfun ggplot2 knitr htmlwidgets backports jsonlite png jpeg checkmate rstudioapi gridExtra Rcpp dplyr generics tidyr cpp11 purrr tidyselect data.table broom httr lazyeval crosstalk promises curl mime openssl later askpass sys Hmisc survival SparseM quantreg rpart polspline multcomp htmlTable cluster Formula latticeExtra nnet foreign viridis MatrixModels mvtnorm TH.data sandwich codetools zoo 0 5 10 15 Imported methods 0 20 40 60 80 Required packages 0 5 10 15 Heaviness from parents Formula lattice survival ggplot2 methods grid base64enc gtable data.table nnet rpart foreign cluster gridExtra htmltools latticeExtra htmlTable viridis acepack rlang chron plyr VGAM knitr tables mice plotly rms In total 67 packages are required directly or indirectly (105) when installing 'Hmisc' (4.7-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 'Hmisc' Imported functions The whole namespace is imported Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on Hmisc
Formula Depends The whole set of functions/methods/classes from parent package is imported to the namespace of Hmisc. 1 1
survival Depends The whole set of functions/methods/classes from parent package is imported to the namespace of Hmisc. 9 1
lattice Depends The whole set of functions/methods/classes from parent package is imported to the namespace of Hmisc. 5 0
ggplot2 Depends The whole set of functions/methods/classes from parent package is imported to the namespace of Hmisc. 37 0
htmlTable Imports 2 0 0 24 14
latticeExtra Imports 2 0 0 9 3
data.table Imports 5 0 0 1 1
nnet Imports 1 0 0 2 1
rpart Imports 2 0 0 3 1
foreign Imports 4 0 0 3 1
cluster Imports 1 0 0 4 1
viridis Imports Parent package is listed in Imports of Hmisc but no object from parent package is imported. 39 1
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of Hmisc. 0 0
grid Imports 16 0 0 0 0
base64enc Imports 1 0 0 0 0
gtable Imports 1 0 0 1 0
gridExtra Imports 1 0 0 5 0
htmltools Imports 1 0 0 6 0
plotly Suggests No object is imported into the namespace of Hmisc. 63 18
rms Suggests No object is imported into the namespace of Hmisc. 78 12
mice Suggests No object is imported into the namespace of Hmisc. 50 9
plyr Suggests No object is imported into the namespace of Hmisc. 3 2
VGAM Suggests No object is imported into the namespace of Hmisc. 4 2
acepack Suggests No object is imported into the namespace of Hmisc. 0 1
chron Suggests No object is imported into the namespace of Hmisc. 2 1
tables Suggests No object is imported into the namespace of Hmisc. 19 1
rlang Suggests No object is imported into the namespace of Hmisc. 1 0
knitr Suggests No object is imported into the namespace of Hmisc. 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 Hmisc Co-heaviness as Jaccard coeffcient
ggplot2 viridis 23 0.958

Analysis was done with pkgndep.