Dependency analysis on package r2glmm

General information

CRAN link link
Package version0.1.2
Number of strong dependencies94
Number of all dependencies94
Number of parent packages12
Max heaviness from parent packages14
Total heaviness from parent packages16
Number of parent packages (including Suggests and Enhances)15
Max co-heaviness from parent packages ("afex" and "pbkrtest")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils grDevices methods graphics stats grid splines tools parallel lattice glue rlang tibble lifecycle R6 ellipsis fansi magrittr pillar pkgconfig vctrs cli crayon utf8 nlme Matrix digest withr gtable MASS brio callr desc evaluate jsonlite pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 isoband mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace boot minqa nloptr Rcpp RcppEigen testthat generics purrr tidyselect lme4 numDeriv ggplot2 broom dplyr knitr backports stringr tidyr highr yaml xfun stringi cpp11 pbkrtest lmerTest car reshape2 carData abind nnet quantreg maptools plyr SparseM MatrixModels survival sp foreign 0 0.5 1 Imported methods 0 20 40 60 80 Required packages 0 5 10 Heaviness from parents stats grid data.table MASS gridExtra Matrix mgcv dplyr ggplot2 lmerTest pbkrtest afex nlme testthat lme4 In total 94 packages are required directly or indirectly (94) when installing 'r2glmm' (0.1.2) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'r2glmm' Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on r2glmm
afex Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 91 14
data.table Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 1 1
gridExtra Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 5 1
stats Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 0 0
grid Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 0 0
MASS Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 5 0
Matrix Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 7 0
mgcv Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 10 0
dplyr Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 20 0
ggplot2 Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 37 0
lmerTest Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 62 0
pbkrtest Imports Parent package is listed in Imports of r2glmm but no object from parent package is imported. 76 0
nlme Suggests No object is imported into the namespace of r2glmm. 6 0
testthat Suggests No object is imported into the namespace of r2glmm. 36 0
lme4 Suggests No object is imported into the namespace of r2glmm. 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 r2glmm Co-heaviness as Jaccard coeffcient
pbkrtest afex 11 0.44

Analysis was done with pkgndep.