Dependency analysis on package lmerTest

General information

CRAN link link
Package version3.1-3
Number of strong dependencies62
Number of all dependencies77
Number of parent packages6
Max heaviness from parent packages23
Total heaviness from parent packages35
Number of parent packages (including Suggests and Enhances)8
Max co-heaviness from parent packages ("ggplot2" and "lme4")21

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests methods stats graphics utils grDevices grid splines parallel tools Matrix MASS lattice nlme cli crayon digest ellipsis lifecycle magrittr R6 rlang withr glue fansi tibble pillar pkgconfig vctrs utf8 boot minqa nloptr Rcpp RcppEigen testthat brio callr desc evaluate jsonlite pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace lme4 broom dplyr numDeriv knitr backports generics purrr stringr tidyr ggplot2 tidyselect highr yaml xfun stringi cpp11 0 10 20 Imported methods 0 20 40 60 Required packages 0 10 20 Heaviness from parents stats methods lme4 numDeriv MASS ggplot2 tools pbkrtest In total 62 packages are required directly or indirectly (77) when installing 'lmerTest' (3.1-3) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'lmerTest' Imported functions Imported S4 classes


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on lmerTest
lme4 Depends 5 0 1 49 23
stats Depends 27 0 0 0 0
methods Depends 5 0 0 0 0
ggplot2 Imports 11 0 0 37 11
numDeriv Imports 2 0 0 0 1
MASS Imports 2 0 0 5 0
pbkrtest Suggests No object is imported into the namespace of lmerTest. 76 15
tools Suggests No object is imported into the namespace of lmerTest. 0 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 lmerTest Co-heaviness as Jaccard coeffcient
lme4 ggplot2 21 0.382

Analysis was done with pkgndep.