Dependency analysis on package margins

General information

CRAN link link
Package version0.3.26
Number of strong dependencies8
Number of all dependencies116
Number of parent packages7
Max heaviness from parent packages1
Total heaviness from parent packages2
Number of parent packages (including Suggests and Enhances)21
Max co-heaviness from parent packages ("MASS" and "graphics")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests Enhances utils stats methods grDevices graphics grid tools splines parallel stats4 data.table lattice glue magrittr rlang evaluate cli crayon ellipsis lifecycle fansi tibble pillar pkgconfig vctrs utf8 digest R6 Matrix jsonlite withr MASS zoo highr stringr yaml xfun stringi brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 nlme minqa Rcpp numDeriv knitr gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace boot nloptr RcppEigen testthat lmtest sandwich Formula nnet survival bslib htmltools jquerylib tinytex sass base64enc fastmap fs rappdirs ucminf flexmix modeltools mitools DBI car carData abind pbkrtest quantreg maptools lme4 broom dplyr SparseM MatrixModels sp foreign backports generics purrr tidyr ggplot2 tidyselect cpp11 0 5 10 Imported methods 0 20 40 60 80 Required packages 0 20 40 60 80 Heaviness from parents utils stats graphics grDevices data.table prediction MASS methods stargazer sandwich knitr gapminder rmarkdown testthat ggplot2 lme4 nnet ordinal betareg survey AER In total 8 packages are required directly or indirectly (116) when installing 'margins' (0.3.26) Imports Suggests Enhances Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'margins' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on margins
prediction Imports 5 0 0 4 1
MASS Imports 1 0 0 5 1
utils Imports 2 0 0 0 0
stats Imports 1 0 0 0 0
graphics Imports 13 0 0 0 0
grDevices Imports 2 0 0 0 0
data.table Imports 1 0 0 1 0
lme4 Suggests No object is imported into the namespace of margins. 49 44
testthat Suggests No object is imported into the namespace of margins. 36 32
ggplot2 Suggests No object is imported into the namespace of margins. 37 32
rmarkdown Suggests No object is imported into the namespace of margins. 27 24
gapminder Suggests No object is imported into the namespace of margins. 16 14
knitr Suggests No object is imported into the namespace of margins. 12 10
sandwich Suggests No object is imported into the namespace of margins. 7 4
stargazer Suggests No object is imported into the namespace of margins. 2 1
methods Suggests No object is imported into the namespace of margins. 0 0
AER Enhances No object is imported into the namespace of margins. 92 87
betareg Enhances No object is imported into the namespace of margins. 15 11
survey Enhances No object is imported into the namespace of margins. 15 11
ordinal Enhances No object is imported into the namespace of margins. 11 6
nnet Enhances No object is imported into the namespace of margins. 2 1

Analysis was done with pkgndep.