Dependency analysis on package brmsmargins

General information

CRAN link link
Package version0.2.0
Number of strong dependencies130
Number of all dependencies159
Number of parent packages9
Max heaviness from parent packages75
Total heaviness from parent packages81
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("brms" and "posterior")44

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports LinkingTo Suggests methods utils stats graphics grDevices tools grid parallel splines stats4 glue digest R6 magrittr rlang withr crayon jsonlite yaml MASS tibble vctrs pillar lattice cli lifecycle ellipsis fansi pkgconfig utf8 stringr xfun stringi ggplot2 Matrix mgcv matrixStats nlme abind backports gtable isoband scales checkmate tensorA distributional farver labeling munsell RColorBrewer viridisLite generics numDeriv colorspace Rcpp desc callr rprojroot mime htmltools fastmap bslib jquerylib zoo base64enc processx sass lazyeval ps fs rappdirs insight datawizard rstan loo posterior rstantools bayesplot shinystan bridgesampling future nleqslv coda StanHeaders inline gridExtra RcppParallel pkgbuild RcppEigen BH dplyr ggridges reshape2 tidyselect shiny colourpicker DT dygraphs gtools markdown shinyjs shinythemes threejs xtable xts mvtnorm Brobdingnag globals listenv parallelly prettyunits plyr purrr httpuv fontawesome sourcetools later promises commonmark cachem htmlwidgets miniUI crosstalk igraph codetools evaluate highr prediction data.table flexmix Formula lmtest modeltools sandwich nnet rex httr curl openssl askpass sys knitr tinytex brio pkgload praise waldo rstudioapi diffobj rematch2 0 2 4 6 8 Imported methods 0 50 100 Required packages 0 20 40 60 Heaviness from parents methods stats extraoperators data.table Rcpp bayestestR posterior brms RcppArmadillo withr margins knitr betareg covr rmarkdown testthat In total 130 packages are required directly or indirectly (159) when installing 'brmsmargins' (0.2.0) Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'brmsmargins' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on brmsmargins
brms Imports 4 0 0 123 75
bayestestR Imports 1 0 0 6 3
extraoperators Imports 3 0 0 0 1
data.table Imports 5 0 0 1 1
methods Imports 1 0 0 0 0
stats Imports 8 0 0 0 0
Rcpp Imports 1 0 0 2 0
posterior Imports 2 0 0 47 0
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of brmsmargins but no object from parent package is imported. 4 1
testthat Suggests No object is imported into the namespace of brmsmargins. 36 9
betareg Suggests No object is imported into the namespace of brmsmargins. 15 7
covr Suggests No object is imported into the namespace of brmsmargins. 20 7
rmarkdown Suggests No object is imported into the namespace of brmsmargins. 27 5
knitr Suggests No object is imported into the namespace of brmsmargins. 12 3
margins Suggests No object is imported into the namespace of brmsmargins. 8 2
withr Suggests No object is imported into the namespace of brmsmargins. 3 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 brmsmargins Co-heaviness as Jaccard coeffcient
posterior brms 44 0.37

Analysis was done with pkgndep.