Dependency analysis on package mitml

General information

CRAN link link
Package version0.4-3
Number of strong dependencies70
Number of all dependencies114
Number of parent packages8
Max heaviness from parent packages35
Total heaviness from parent packages50
Number of parent packages (including Suggests and Enhances)18
Max co-heaviness from parent packages ("jomo" and "haven")15

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests stats utils methods grDevices graphics grid tools splines parallel stats4 magrittr glue rlang R6 lattice tibble ellipsis fansi lifecycle pillar pkgconfig vctrs cli crayon utf8 withr MASS Matrix digest nlme Rcpp tidyselect cpp11 purrr evaluate jsonlite boot minqa nloptr RcppEigen numDeriv testthat brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 forcats hms readr clipr vroom tzdb bit64 progress bit prettyunits lme4 survival ordinal ucminf stringr stringi broom dplyr generics tidyr backports ggplot2 gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace RcppArmadillo highr yaml xfun foreign mnormt pbivnorm bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs mice mitools DBI 0 5 10 Imported methods 0 20 40 Required packages 0 10 20 30 Heaviness from parents pan grDevices graphics stats methods utils haven jomo nlme Amelia survival lavaan knitr rmarkdown lme4 geepack mice miceadds In total 70 packages are required directly or indirectly (114) when installing 'mitml' (0.4-3) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'mitml' 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 mitml.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on mitml
jomo Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mitml. 54 35
haven Imports Parent package is listed in Imports of mitml but no object from parent package is imported. 33 14
pan Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mitml. 0 1
grDevices Imports 3 0 0 0 0
graphics Imports 10 0 0 0 0
stats Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mitml. 0 0
methods Imports 1 0 0 0 0
utils Imports 3 0 0 0 0
miceadds Suggests No object is imported into the namespace of mitml. 54 23
geepack Suggests No object is imported into the namespace of mitml. 49 19
mice Suggests No object is imported into the namespace of mitml. 50 19
rmarkdown Suggests No object is imported into the namespace of mitml. 27 16
knitr Suggests No object is imported into the namespace of mitml. 12 6
lavaan Suggests No object is imported into the namespace of mitml. 10 4
Amelia Suggests No object is imported into the namespace of mitml. 8 3
nlme Suggests No object is imported into the namespace of mitml. 6 0
survival Suggests No object is imported into the namespace of mitml. 9 0
lme4 Suggests No object is imported into the namespace of mitml. 49 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 mitml Co-heaviness as Jaccard coeffcient
haven jomo 15 0.234

Analysis was done with pkgndep.