Dependency analysis on package merTools

General information

CRAN link link
Package version0.5.2
Number of strong dependencies104
Number of all dependencies153
Number of parent packages11
Max heaviness from parent packages18
Total heaviness from parent packages36
Number of parent packages (including Suggests and Enhances)20
Max co-heaviness from parent packages ("broom.mixed" and "ggplot2")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils methods stats grDevices graphics tools grid splines parallel stats4 magrittr digest R6 rlang glue crayon ellipsis lifecycle cli jsonlite withr fansi tibble pillar pkgconfig vctrs utf8 lattice Rcpp evaluate MASS Matrix nlme brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 boot minqa nloptr RcppEigen testthat htmltools fastmap base64enc jquerylib stringr stringi lme4 codetools generics tidyselect purrr later promises bslib sass fs rappdirs gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace abind coda httpuv mime xtable fontawesome sourcetools commonmark cachem dplyr backports ggplot2 future globals listenv parallelly iterators broom forcats tidyr furrr cpp11 yaml xfun highr htmlwidgets crosstalk lazyeval foreign RcppArmadillo knitr tinytex bayesplot loo rstan rstantools shinystan survival RcppParallel StanHeaders BH ggridges posterior reshape2 checkmate matrixStats inline gridExtra pkgbuild shiny colourpicker DT dygraphs gtools markdown shinyjs shinythemes threejs xts plyr tensorA distributional prettyunits miniUI zoo igraph numDeriv 0 10 20 Imported methods 0 50 100 Required packages 0 20 40 Heaviness from parents methods lme4 arm mvtnorm abind foreach dplyr shiny ggplot2 blme broom.mixed parallel nlme Amelia future.apply knitr DT rmarkdown testthat rstanarm In total 104 packages are required directly or indirectly (153) when installing 'merTools' (0.5.2) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'merTools' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on merTools
arm Depends 1 0 0 52 1
methods Depends 2 0 0 0 0
lme4 Depends The whole set of functions/methods/classes from parent package is imported to the namespace of merTools. 49 0
shiny Imports 27 0 0 34 18
broom.mixed Imports 1 0 0 58 13
foreach Imports 2 0 0 3 2
mvtnorm Imports 1 0 0 2 1
blme Imports 2 0 0 50 1
abind Imports 1 0 0 2 0
dplyr Imports The whole set of functions/methods/classes from parent package is imported to the namespace of merTools. 20 0
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of merTools. 37 0
rstanarm Suggests No object is imported into the namespace of merTools. 127 41
rmarkdown Suggests No object is imported into the namespace of merTools. 27 6
DT Suggests No object is imported into the namespace of merTools. 20 5
knitr Suggests No object is imported into the namespace of merTools. 12 4
Amelia Suggests No object is imported into the namespace of merTools. 8 3
future.apply Suggests No object is imported into the namespace of merTools. 9 1
parallel Suggests No object is imported into the namespace of merTools. 0 0
nlme Suggests No object is imported into the namespace of merTools. 6 0
testthat Suggests No object is imported into the namespace of merTools. 36 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 merTools Co-heaviness as Jaccard coeffcient
ggplot2 broom.mixed 11 0.458

Analysis was done with pkgndep.