Dependency analysis on package car

General information

CRAN link link
Package version3.0-13
Number of strong dependencies87
Number of all dependencies125
Number of parent packages14
Max heaviness from parent packages26
Total heaviness from parent packages36
Number of parent packages (including Suggests and Enhances)29
Max co-heaviness from parent packages ("pbkrtest" and "lme4")39

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils stats graphics methods grDevices grid splines tools parallel lattice Matrix magrittr glue nlme Rcpp rlang R6 evaluate MASS survival minqa ellipsis tibble lifecycle vctrs pillar fansi pkgconfig digest withr cli crayon utf8 jsonlite stringi boot nloptr RcppEigen testthat brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 numDeriv stringr highr yaml xfun foreign lme4 knitr purrr tidyselect cpp11 colorspace sp SparseM MatrixModels broom dplyr backports generics tidyr ggplot2 gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite mitools DBI zoo carData nnet survey estimability insight bdsmatrix htmlwidgets htmltools base64enc fastmap haven curl data.table readxl openxlsx forcats hms readr cellranger progress zip clipr vroom tzdb rematch prettyunits bit64 bit car effects abind pbkrtest quantreg maptools 0 20 40 60 80 Imported methods 0 20 40 60 80 Required packages 0 10 20 Heaviness from parents carData grDevices utils stats graphics abind nnet MASS nlme maptools mgcv quantreg lme4 pbkrtest leaps boot SparseM lmtest Matrix sandwich MatrixModels survival coxme knitr survey rgl rio effects alr4 In total 87 packages are required directly or indirectly (125) when installing 'car' (3.0-13) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'car' Imported functions The whole namespace is imported Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on car
carData Depends The whole set of functions/methods/classes from parent package is imported to the namespace of car. 0 1
pbkrtest Imports Parent package is listed in Imports of car but no object from parent package is imported. 76 26
quantreg Imports Parent package is listed in Imports of car but no object from parent package is imported. 13 4
maptools Imports Parent package is listed in Imports of car but no object from parent package is imported. 9 3
abind Imports 1 0 0 2 1
nnet Imports Parent package is listed in Imports of car but no object from parent package is imported. 2 1
grDevices Imports 5 0 0 0 0
utils Imports 8 0 0 0 0
stats Imports 95 0 0 0 0
graphics Imports 23 0 0 0 0
MASS Imports Parent package is listed in Imports of car but no object from parent package is imported. 5 0
nlme Imports Parent package is listed in Imports of car but no object from parent package is imported. 6 0
mgcv Imports Parent package is listed in Imports of car but no object from parent package is imported. 10 0
lme4 Imports Parent package is listed in Imports of car but no object from parent package is imported. 49 0
rio Suggests No object is imported into the namespace of car. 45 19
alr4 Suggests No object is imported into the namespace of car. 94 8
effects Suggests No object is imported into the namespace of car. 60 6
rgl Suggests No object is imported into the namespace of car. 23 5
survey Suggests No object is imported into the namespace of car. 15 3
lmtest Suggests No object is imported into the namespace of car. 7 2
sandwich Suggests No object is imported into the namespace of car. 7 2
coxme Suggests No object is imported into the namespace of car. 12 2
leaps Suggests No object is imported into the namespace of car. 0 1
boot Suggests No object is imported into the namespace of car. 2 0
SparseM Suggests No object is imported into the namespace of car. 4 0
Matrix Suggests No object is imported into the namespace of car. 7 0
MatrixModels Suggests No object is imported into the namespace of car. 8 0
survival Suggests No object is imported into the namespace of car. 9 0
knitr Suggests No object is imported into the namespace of car. 12 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 car Co-heaviness as Jaccard coeffcient
lme4 pbkrtest 39 0.6

Analysis was done with pkgndep.