Dependency analysis on package mets

General information

CRAN link link
Package version1.2.9
Number of strong dependencies28
Number of all dependencies99
Number of parent packages9
Max heaviness from parent packages1
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)19
Max co-heaviness from parent packages ("timereg" and "lava")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports LinkingTo Suggests methods stats utils grDevices graphics splines grid tools parallel Matrix lattice digest survival numDeriv codetools future.apply progressr SQUAREM future globals listenv parallelly Rcpp lava magrittr glue R6 rlang evaluate cli crayon ellipsis lifecycle withr fansi tibble pillar pkgconfig vctrs utf8 highr stringr yaml xfun stringi jsonlite gtable isoband MASS mgcv scales nlme farver labeling munsell RColorBrewer viridisLite colorspace coda foreach MLEcens RcppEigen iterators KernSmooth bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 ggplot2 0 20 40 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents lava timereg numDeriv compiler splines mvtnorm Rcpp survival RcppArmadillo ucminf optimx cmprsk knitr icenReg prodlim rmarkdown testthat ggplot2 cowplot In total 28 packages are required directly or indirectly (99) when installing 'mets' (1.2.9) Depends Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'mets' 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 mets.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on mets
timereg Depends The whole set of functions/methods/classes from parent package is imported to the namespace of mets. 23 1
lava Depends 42 0 0 22 0
compiler Imports Parent package is listed in Imports of mets but no object from parent package is imported. 0 1
mvtnorm Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mets. 2 1
numDeriv Imports Parent package is listed in Imports of mets but no object from parent package is imported. 0 0
splines Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mets. 0 0
Rcpp Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mets. 2 0
survival Imports 3 0 0 9 0
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of mets but no object from parent package is imported. 4 1
testthat Suggests No object is imported into the namespace of mets. 36 30
cowplot Suggests No object is imported into the namespace of mets. 38 29
ggplot2 Suggests No object is imported into the namespace of mets. 37 28
rmarkdown Suggests No object is imported into the namespace of mets. 27 22
knitr Suggests No object is imported into the namespace of mets. 12 9
icenReg Suggests No object is imported into the namespace of mets. 17 6
prodlim Suggests No object is imported into the namespace of mets. 25 2
ucminf Suggests No object is imported into the namespace of mets. 0 1
optimx Suggests No object is imported into the namespace of mets. 1 1
cmprsk Suggests No object is imported into the namespace of mets. 10 1

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 mets Co-heaviness as Jaccard coeffcient
lava timereg 12 0.923

Analysis was done with pkgndep.