Dependency analysis on package alr4

General information

CRAN link link
Package version1.0.6
Number of strong dependencies94
Number of all dependencies94
Number of parent packages2
Max heaviness from parent packages33
Total heaviness from parent packages39
Number of parent packages (including Suggests and Enhances)2
Max co-heaviness from parent packages ("car" and "effects")55

Dependency heatmap

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

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


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on alr4
car Depends The whole set of functions/methods/classes from parent package is imported to the namespace of alr4. 87 33
effects Depends The whole set of functions/methods/classes from parent package is imported to the namespace of alr4. 60 6

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 alr4 Co-heaviness as Jaccard coeffcient
effects car 55 0.585

Analysis was done with pkgndep.