Dependency analysis on package gtsummary

General information

CRAN link link
Package version1.6.0
Number of strong dependencies77
Number of all dependencies192
Number of parent packages14
Max heaviness from parent packages12
Total heaviness from parent packages27
Number of parent packages (including Suggests and Enhances)46
Max co-heaviness from parent packages ("broom.helpers" and "forcats")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices graphics tools grid splines parallel glue magrittr rlang R6 ellipsis lifecycle vctrs cli crayon pillar fansi pkgconfig utf8 digest tibble stringi lattice stringr Matrix generics purrr tidyselect withr cpp11 MASS nlme farver labeling munsell RColorBrewer viridisLite colorspace dplyr scales ggplot2 gtable isoband mgcv evaluate tidyr yaml highr xfun backports fastmap base64enc htmltools fs sass rappdirs broom prettyunits commonmark forcats checkmate hms progress bitops labelled haven readr clipr vroom tzdb bit64 bit Rcpp jsonlite knitr xml2 rstudioapi zip survival bslib jquerylib tinytex callr processx ps numDeriv uuid minqa brio desc pkgload praise waldo rprojroot diffobj rematch2 rmarkdown data.table systemfonts globals codetools hardhat bayestestR insight datawizard httr curl mime openssl askpass sys officer gdtools boot nloptr RcppEigen testthat nnet foreign zoo estimability mvtnorm xtable parameters performance mitools DBI hunspell rex lazyeval assertthat memoise cachem parsnip plyr reshape flextable coda furrr future listenv parallelly rvest webshot svglite selectr Formula latticeExtra cluster rpart gridExtra htmlTable viridis png jpeg htmlwidgets cmprsk gtsummary broom.helpers gt carData abind pbkrtest quantreg maptools lme4 SparseM MatrixModels sp 0 10 20 30 Imported methods 0 20 40 60 80 Required packages 0 10 20 30 Heaviness from parents glue rlang cli purrr lifecycle stringr knitr tibble forcats dplyr tidyr broom gt broom.helpers aod nnet insight smd parameters sandwich emmeans openxlsx effectsize officer survival mgcv scales survey spelling covr huxtable rmarkdown testthat flextable parsnip geepack lme4 workflows mice GGally ftExtra broom.mixed kableExtra Hmisc tidycmprsk car In total 77 packages are required directly or indirectly (192) when installing 'gtsummary' (1.6.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'gtsummary' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on gtsummary
broom.helpers Imports 3 0 0 61 12
gt Imports 2 0 0 55 10
knitr Imports 1 0 0 12 5
glue Imports 3 0 0 1 0
rlang Imports 26 0 0 1 0
cli Imports 4 0 0 3 0
purrr Imports 27 0 0 3 0
lifecycle Imports 1 0 0 4 0
stringr Imports 12 0 0 7 0
tibble Imports 5 0 0 15 0
forcats Imports Parent package is listed in Imports of gtsummary but no object from parent package is imported. 16 0
dplyr Imports 38 0 0 20 0
tidyr Imports 4 0 0 22 0
broom Imports Parent package is listed in Imports of gtsummary but no object from parent package is imported. 48 0
car Suggests No object is imported into the namespace of gtsummary. 87 34
kableExtra Suggests No object is imported into the namespace of gtsummary. 63 22
lme4 Suggests No object is imported into the namespace of gtsummary. 49 21
Hmisc Suggests No object is imported into the namespace of gtsummary. 67 17
ftExtra Suggests No object is imported into the namespace of gtsummary. 54 15
testthat Suggests No object is imported into the namespace of gtsummary. 36 14
flextable Suggests No object is imported into the namespace of gtsummary. 38 14
covr Suggests No object is imported into the namespace of gtsummary. 20 10
broom.mixed Suggests No object is imported into the namespace of gtsummary. 58 9
survey Suggests No object is imported into the namespace of gtsummary. 15 7
effectsize Suggests No object is imported into the namespace of gtsummary. 9 6
emmeans Suggests No object is imported into the namespace of gtsummary. 8 5
huxtable Suggests No object is imported into the namespace of gtsummary. 22 5
rmarkdown Suggests No object is imported into the namespace of gtsummary. 27 5
workflows Suggests No object is imported into the namespace of gtsummary. 49 5
tidycmprsk Suggests No object is imported into the namespace of gtsummary. 81 5
parameters Suggests No object is imported into the namespace of gtsummary. 7 4
officer Suggests No object is imported into the namespace of gtsummary. 9 4
spelling Suggests No object is imported into the namespace of gtsummary. 18 4
parsnip Suggests No object is imported into the namespace of gtsummary. 48 4
GGally Suggests No object is imported into the namespace of gtsummary. 51 4
openxlsx Suggests No object is imported into the namespace of gtsummary. 8 3
sandwich Suggests No object is imported into the namespace of gtsummary. 7 2
mice Suggests No object is imported into the namespace of gtsummary. 50 2
aod Suggests No object is imported into the namespace of gtsummary. 2 1
nnet Suggests No object is imported into the namespace of gtsummary. 2 1
insight Suggests No object is imported into the namespace of gtsummary. 3 1
smd Suggests No object is imported into the namespace of gtsummary. 6 1
survival Suggests No object is imported into the namespace of gtsummary. 9 1
geepack Suggests No object is imported into the namespace of gtsummary. 49 1
mgcv Suggests No object is imported into the namespace of gtsummary. 10 0
scales Suggests No object is imported into the namespace of gtsummary. 15 0

Analysis was done with pkgndep.