Dependency analysis on package cAIC4

General information

CRAN link link
Package version1.0
Number of strong dependencies54
Number of all dependencies55
Number of parent packages8
Max heaviness from parent packages1
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)9
Max co-heaviness from parent packages ("RLRsim" and "lme4")40

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats graphics grid utils grDevices methods splines parallel tools lattice Matrix nlme MASS boot minqa nloptr Rcpp RcppEigen testthat brio callr cli crayon desc digest ellipsis evaluate jsonlite lifecycle magrittr pkgload praise processx ps R6 rlang waldo withr glue rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 lme4 mgcv 0 1 2 Imported methods 0 20 40 Required packages 0 0.5 1 Heaviness from parents methods stats4 nlme Matrix lme4 mvtnorm mgcv RLRsim gamm4 In total 54 packages are required directly or indirectly (55) when installing 'cAIC4' (1.0) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'cAIC4' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on cAIC4
stats4 Depends 1 0 0 0 1
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of cAIC4. 0 0
nlme Depends 2 0 0 6 0
Matrix Depends The whole set of functions/methods/classes from parent package is imported to the namespace of cAIC4. 7 0
lme4 Depends The whole set of functions/methods/classes from parent package is imported to the namespace of cAIC4. 49 0
mvtnorm Imports The whole set of functions/methods/classes from parent package is imported to the namespace of cAIC4. 2 1
RLRsim Imports The whole set of functions/methods/classes from parent package is imported to the namespace of cAIC4. 51 1
mgcv Imports 1 0 0 10 0
gamm4 Suggests No object is imported into the namespace of cAIC4. 51 1

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 cAIC4 Co-heaviness as Jaccard coeffcient
lme4 RLRsim 40 0.976

Analysis was done with pkgndep.