Dependency analysis on package modelsummary

General information

CRAN link link
Package version0.11.0
Number of strong dependencies90
Number of all dependencies169
Number of parent packages10
Max heaviness from parent packages25
Total heaviness from parent packages46
Number of parent packages (including Suggests and Enhances)43
Max co-heaviness from parent packages ("kableExtra" and "broom")19

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices graphics tools grid splines parallel datasets compiler stats4 magrittr digest glue rlang R6 lattice stringr stringi ellipsis vctrs cli crayon lifecycle pillar fansi utf8 evaluate fastmap pkgconfig Matrix jsonlite htmltools yaml base64enc tibble withr MASS nlme highr xfun knitr generics cpp11 scales farver labeling munsell RColorBrewer viridisLite colorspace xml2 backports purrr tidyselect gtable isoband mgcv jquerylib sass fs rappdirs dplyr ggplot2 rstudioapi bslib tinytex callr processx ps tidyr rmarkdown curl bayestestR datawizard insight httr systemfonts mime openssl askpass sys rvest webshot svglite selectr Rcpp zoo Formula globals listenv parallelly codetools sandwich commonmark brio desc pkgload praise waldo rprojroot diffobj rematch2 future uuid zip RcppEigen numDeriv survival minqa lazyeval testthat broom xtable flexmix lmtest modeltools nnet dreamerr gamlss.data gamlss.dist mitools DBI hunspell repr rex htmlwidgets crosstalk promises later assertthat memoise cachem officer data.table gdtools boot nloptr bitops checkmate coda forcats furrr 0 1 2 Imported methods 0 20 40 60 Required packages 0 10 20 Heaviness from parents data.table generics glue checkmate insight parameters performance tables broom kableExtra digest nnet magick MASS lmtest sandwich pscl future future.apply officer knitr estimatr lfe betareg fixest gamlss survey tibble spelling IRdisplay covr DT huxtable rmarkdown bookdown testthat ggplot2 flextable vdiffr lme4 mice gt broom.mixed In total 90 packages are required directly or indirectly (169) when installing 'modelsummary' (0.11.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'modelsummary' 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 modelsummary.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on modelsummary
kableExtra Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 63 25
broom Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 48 16
data.table Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 1 1
checkmate Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 2 1
parameters Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 7 1
performance Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 7 1
tables Imports The whole set of functions/methods/classes from parent package is imported to the namespace of modelsummary. 19 1
generics Imports 2 0 0 1 0
glue Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 1 0
insight Imports Parent package is listed in Imports of modelsummary but no object from parent package is imported. 3 0
lme4 Suggests No object is imported into the namespace of modelsummary. 49 16
vdiffr Suggests No object is imported into the namespace of modelsummary. 42 10
broom.mixed Suggests No object is imported into the namespace of modelsummary. 58 10
betareg Suggests No object is imported into the namespace of modelsummary. 15 9
testthat Suggests No object is imported into the namespace of modelsummary. 36 9
future.apply Suggests No object is imported into the namespace of modelsummary. 9 7
lfe Suggests No object is imported into the namespace of modelsummary. 14 7
fixest Suggests No object is imported into the namespace of modelsummary. 15 7
survey Suggests No object is imported into the namespace of modelsummary. 15 7
DT Suggests No object is imported into the namespace of modelsummary. 20 7
future Suggests No object is imported into the namespace of modelsummary. 8 6
flextable Suggests No object is imported into the namespace of modelsummary. 38 6
gamlss Suggests No object is imported into the namespace of modelsummary. 15 5
huxtable Suggests No object is imported into the namespace of modelsummary. 22 5
estimatr Suggests No object is imported into the namespace of modelsummary. 13 4
spelling Suggests No object is imported into the namespace of modelsummary. 18 4
officer Suggests No object is imported into the namespace of modelsummary. 9 3
covr Suggests No object is imported into the namespace of modelsummary. 20 3
gt Suggests No object is imported into the namespace of modelsummary. 55 3
magick Suggests No object is imported into the namespace of modelsummary. 5 2
lmtest Suggests No object is imported into the namespace of modelsummary. 7 2
sandwich Suggests No object is imported into the namespace of modelsummary. 7 2
pscl Suggests No object is imported into the namespace of modelsummary. 7 2
IRdisplay Suggests No object is imported into the namespace of modelsummary. 19 2
mice Suggests No object is imported into the namespace of modelsummary. 50 2
nnet Suggests No object is imported into the namespace of modelsummary. 2 1
bookdown Suggests No object is imported into the namespace of modelsummary. 28 1
digest Suggests No object is imported into the namespace of modelsummary. 1 0
MASS Suggests No object is imported into the namespace of modelsummary. 5 0
knitr Suggests No object is imported into the namespace of modelsummary. 12 0
tibble Suggests No object is imported into the namespace of modelsummary. 15 0
rmarkdown Suggests No object is imported into the namespace of modelsummary. 27 0
ggplot2 Suggests No object is imported into the namespace of modelsummary. 37 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 modelsummary Co-heaviness as Jaccard coeffcient
broom kableExtra 19 0.317

Analysis was done with pkgndep.