Dependency analysis on package sjPlot

General information

CRAN link link
Package version2.8.10
Number of strong dependencies91
Number of all dependencies200
Number of parent packages22
Max heaviness from parent packages30
Total heaviness from parent packages35
Number of parent packages (including Suggests and Enhances)45
Max co-heaviness from parent packages ("sjstats" and "ggplot2")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils stats methods graphics grDevices grid tools splines parallel stats4 datasets magrittr rlang glue R6 lifecycle lattice tibble vctrs pillar ellipsis fansi pkgconfig cli crayon utf8 MASS digest withr nlme Matrix Rcpp insight farver labeling munsell RColorBrewer viridisLite colorspace gtable jsonlite datawizard evaluate tidyselect purrr isoband mgcv scales generics ggplot2 RcppEigen callr desc processx ps rprojroot stringr stringi dplyr numDeriv minqa brio pkgload praise waldo rstudioapi diffobj rematch2 yaml xfun boot nloptr testthat bayestestR cpp11 lme4 backports sjlabelled highr xtable parameters performance broom tidyr mvtnorm effectsize emmeans modelr sjmisc estimability zoo mime survival htmltools fastmap bslib jquerylib base64enc sass fs rappdirs prettyunits plyr abind mnormt knitr rstan loo posterior rstantools bayesplot shinystan matrixStats StanHeaders inline gridExtra RcppParallel pkgbuild BH checkmate tensorA distributional ggridges reshape2 shiny colourpicker DT dygraphs gtools markdown shinyjs shinythemes threejs xts httpuv fontawesome sourcetools later promises commonmark cachem htmlwidgets miniUI crosstalk igraph lazyeval sandwich curl openssl askpass sys psych mitools DBI tinytex forcats hms readr clipr vroom tzdb bit64 progress bit TMB carData nnet pbkrtest quantreg maptools SparseM MatrixModels sp foreign bridgesampling future nleqslv coda Brobdingnag globals listenv parallelly codetools 0 20 40 Imported methods 0 50 100 Required packages 0 20 40 60 Heaviness from parents graphics grDevices stats utils rlang insight purrr datawizard MASS bayestestR sjlabelled parameters performance effectsize ggeffects knitr scales dplyr tidyr sjmisc ggplot2 sjstats splines GPArotation cluster gridExtra pscl sandwich clubSandwich httr psych TMB nFactors survey rmarkdown haven testthat cowplot ggrepel ggridges lme4 glmmTMB car brms rstanarm In total 91 packages are required directly or indirectly (200) when installing 'sjPlot' (2.8.10) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'sjPlot' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on sjPlot
sjstats Imports 7 0 0 85 30
knitr Imports 2 0 0 12 4
ggeffects Imports 2 0 0 10 1
graphics Imports 1 0 0 0 0
grDevices Imports 9 0 0 0 0
stats Imports 55 0 0 0 0
utils Imports 4 0 0 0 0
rlang Imports 3 0 0 1 0
insight Imports 11 0 0 3 0
purrr Imports 13 0 0 3 0
datawizard Imports 2 0 0 4 0
MASS Imports 1 0 0 5 0
bayestestR Imports 1 0 0 6 0
sjlabelled Imports 10 0 0 6 0
parameters Imports 4 0 0 7 0
performance Imports 7 0 0 7 0
effectsize Imports 1 0 0 9 0
scales Imports 3 0 0 15 0
dplyr Imports 21 0 0 20 0
tidyr Imports 4 0 0 22 0
sjmisc Imports 26 0 0 26 0
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of sjPlot. 37 0
brms Suggests No object is imported into the namespace of sjPlot. 123 64
rstanarm Suggests No object is imported into the namespace of sjPlot. 127 56
car Suggests No object is imported into the namespace of sjPlot. 87 12
haven Suggests No object is imported into the namespace of sjPlot. 33 11
rmarkdown Suggests No object is imported into the namespace of sjPlot. 27 10
httr Suggests No object is imported into the namespace of sjPlot. 9 6
survey Suggests No object is imported into the namespace of sjPlot. 15 4
clubSandwich Suggests No object is imported into the namespace of sjPlot. 8 3
nFactors Suggests No object is imported into the namespace of sjPlot. 12 3
pscl Suggests No object is imported into the namespace of sjPlot. 7 2
sandwich Suggests No object is imported into the namespace of sjPlot. 7 2
psych Suggests No object is imported into the namespace of sjPlot. 10 2
ggridges Suggests No object is imported into the namespace of sjPlot. 40 2
glmmTMB Suggests No object is imported into the namespace of sjPlot. 52 2
GPArotation Suggests No object is imported into the namespace of sjPlot. 1 1
cluster Suggests No object is imported into the namespace of sjPlot. 4 1
gridExtra Suggests No object is imported into the namespace of sjPlot. 5 1
TMB Suggests No object is imported into the namespace of sjPlot. 10 1
cowplot Suggests No object is imported into the namespace of sjPlot. 38 1
ggrepel Suggests No object is imported into the namespace of sjPlot. 39 1
splines Suggests No object is imported into the namespace of sjPlot. 0 0
testthat Suggests No object is imported into the namespace of sjPlot. 36 0
lme4 Suggests No object is imported into the namespace of sjPlot. 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 sjPlot Co-heaviness as Jaccard coeffcient
ggplot2 sjstats 11 0.268

Analysis was done with pkgndep.