Dependency analysis on package NSM3

General information

CRAN link link
Package version1.16
Number of strong dependencies158
Number of all dependencies158
Number of parent packages22
Max heaviness from parent packages47
Total heaviness from parent packages109
Number of parent packages (including Suggests and Enhances)22
Max co-heaviness from parent packages ("agricolae" and "Hmisc")25

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports stats utils methods grDevices graphics grid splines tools parallel stats4 lattice Matrix MASS survival nlme cluster mathjaxr e1071 class proxy SparseM MatrixModels Rcpp rstudioapi highr htmltools jsonlite R6 crayon rlang fastmap withr glue ellipsis lifecycle xfun cli magrittr tibble digest base64enc vctrs stringr fansi pillar pkgconfig stringi utf8 gmp polynom sets metadat pbapply boot cubature quadprog quantreg libcoin matrixStats modeltools mvtnorm multcomp TH.data sandwich codetools zoo Formula ggplot2 latticeExtra rpart nnet foreign gtable gridExtra data.table htmlTable viridis isoband mgcv scales png jpeg RColorBrewer knitr checkmate htmlwidgets viridisLite farver labeling munsell evaluate yaml backports colorspace klaR AlgDesign combinat questionr shiny miniUI styler classInt labelled httpuv mime xtable fontawesome sourcetools later promises commonmark bslib cachem purrr R.cache rematch2 rprojroot KernSmooth haven dplyr tidyr sass jquerylib R.methodsS3 R.oo R.utils forcats hms readr tidyselect cpp11 generics fs rappdirs clipr vroom tzdb bit64 progress bit prettyunits 0 10 20 Imported methods 0 20 40 60 80 Required packages 0 20 40 Heaviness from parents combinat stats MASS partitions survival ash binom fANCOVA SuppDists nortest Rfit gtools waveslim km.ci SemiPar BSDA quantreg metafor np coin Hmisc agricolae In total 158 packages are required directly or indirectly (158) when installing 'NSM3' (1.16) Depends Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'NSM3' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on NSM3
partitions Depends The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 9 4
combinat Depends The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 0 0
stats Depends 23 0 0 0 0
MASS Depends The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 5 0
survival Depends The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 9 0
agricolae Imports 1 0 0 87 47
Hmisc Imports 1 0 0 67 29
coin Imports 1 0 0 22 11
np Imports 1 0 0 18 4
metafor Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 14 3
ash Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 0 1
binom Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 0 1
fANCOVA Imports 1 0 0 0 1
SuppDists Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 0 1
nortest Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 1 1
Rfit Imports 1 0 0 1 1
gtools Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 3 1
waveslim Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 4 1
km.ci Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 10 1
SemiPar Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 10 1
BSDA Imports The whole set of functions/methods/classes from parent package is imported to the namespace of NSM3. 11 1
quantreg Imports 1 0 0 13 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 NSM3 Co-heaviness as Jaccard coeffcient
Hmisc agricolae 25 0.248

Analysis was done with pkgndep.