Dependency analysis on package haplo.stats

General information

CRAN link link
Package version1.8.9
Number of strong dependencies80
Number of all dependencies97
Number of parent packages5
Max heaviness from parent packages65
Total heaviness from parent packages66
Number of parent packages (including Suggests and Enhances)7
Max co-heaviness from parent packages ("rms" and "arsenal")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats utils methods tools graphics grDevices grid splines evaluate glue magrittr digest knitr highr stringr yaml xfun stringi rlang tibble withr rstudioapi lifecycle R6 ellipsis fansi pillar pkgconfig vctrs jsonlite cli crayon utf8 Hmisc survival lattice ggplot2 SparseM quantreg rpart nlme polspline multcomp htmlTable htmltools MASS cluster Formula latticeExtra nnet foreign gtable gridExtra data.table viridis base64enc Matrix isoband mgcv scales MatrixModels mvtnorm TH.data sandwich codetools checkmate htmlwidgets fastmap png jpeg RColorBrewer viridisLite farver labeling munsell zoo backports colorspace R.methodsS3 R.oo R.utils R.cache brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 0 10 20 Imported methods 0 20 40 60 80 Required packages 0 20 40 60 Heaviness from parents methods stats graphics arsenal rms R.rsp testthat In total 80 packages are required directly or indirectly (97) when installing 'haplo.stats' (1.8.9) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'haplo.stats' Imported functions The whole namespace is imported


Dependency table

"Import" information is from the NAMESPACE file of haplo.stats.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on haplo.stats
arsenal Depends The whole set of functions/methods/classes from parent package is imported to the namespace of haplo.stats. 13 1
methods Depends 2 0 0 0 0
stats Depends 26 0 0 0 0
graphics Depends 6 0 0 0 0
rms Imports The whole set of functions/methods/classes from parent package is imported to the namespace of haplo.stats. 78 65
testthat Suggests No object is imported into the namespace of haplo.stats. 36 12
R.rsp Suggests No object is imported into the namespace of haplo.stats. 9 5

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 haplo.stats Co-heaviness as Jaccard coeffcient
arsenal rms 11 0.143

Analysis was done with pkgndep.