Dependency analysis on package matlib

General information

CRAN link link
Package version0.9.5
Number of strong dependencies94
Number of all dependencies111
Number of parent packages5
Max heaviness from parent packages68
Total heaviness from parent packages74
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("car" and "rgl")14

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests stats utils methods tools grDevices graphics splines parallel grid magrittr xfun jsonlite R6 yaml rlang evaluate highr stringr glue stringi knitr digest fastmap htmltools base64enc htmlwidgets Rcpp cpp11 callr processx ps carData abind MASS mgcv nnet pbkrtest quantreg maptools lme4 nlme Matrix broom dplyr numDeriv SparseM MatrixModels survival sp foreign lattice boot minqa nloptr RcppEigen backports ellipsis generics purrr tibble tidyr ggplot2 lifecycle tidyselect vctrs pillar testthat fansi pkgconfig gtable isoband scales withr cli crayon utf8 brio desc pkgload praise waldo farver labeling munsell RColorBrewer viridisLite rprojroot rstudioapi diffobj rematch2 colorspace mime chromote later promises curl websocket AsioHeaders rgl bslib jquerylib tinytex sass fs rappdirs 0 0.5 1 Imported methods 0 20 40 60 80 Required packages 0 20 40 60 Heaviness from parents methods xtable MASS rgl car carData markdown knitr webshot2 rglwidget rmarkdown In total 94 packages are required directly or indirectly (111) when installing 'matlib' (0.9.5) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'matlib' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on matlib
car Imports 1 0 0 87 68
rgl Imports The whole set of functions/methods/classes from parent package is imported to the namespace of matlib. 23 5
xtable Imports 1 0 0 2 1
methods Imports 1 0 0 0 0
MASS Imports 1 0 0 5 0
webshot2 Suggests No object is imported into the namespace of matlib. 19 7
rmarkdown Suggests No object is imported into the namespace of matlib. 27 7
markdown Suggests No object is imported into the namespace of matlib. 5 2
rglwidget Suggests No object is imported into the namespace of matlib. 24 1
carData Suggests No object is imported into the namespace of matlib. 0 0
knitr Suggests No object is imported into the namespace of matlib. 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 matlib Co-heaviness as Jaccard coeffcient
rgl car 14 0.161

Analysis was done with pkgndep.