Dependency analysis on package MAPA

General information

CRAN link link
Package version2.0.4
Number of strong dependencies82
Number of all dependencies82
Number of parent packages4
Max heaviness from parent packages28
Total heaviness from parent packages52
Number of parent packages (including Suggests and Enhances)4
Max co-heaviness from parent packages ("smooth" and "forecast")28

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends graphics stats methods grDevices grid utils parallel splines tools magrittr Rcpp zoo RcppArmadillo digest glue MASS rlang tibble withr lattice lifecycle R6 ellipsis fansi pillar pkgconfig vctrs curl cli crayon utf8 colorspace fracdiff ggplot2 lmtest nnet timeDate tseries urca gtable isoband mgcv scales quadprog quantmod nlme Matrix farver labeling munsell RColorBrewer viridisLite xts TTR greybox generics pracma statmod nloptr texreg testthat httr brio callr desc evaluate jsonlite pkgload praise processx ps waldo mime openssl rprojroot rstudioapi diffobj rematch2 askpass sys 0 0.5 1 Imported methods 0 20 40 Required packages 0 10 20 Heaviness from parents parallel RColorBrewer forecast smooth In total 82 packages are required directly or indirectly (82) when installing 'MAPA' (2.0.4) Depends Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'MAPA' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on MAPA
smooth Depends 1 0 0 55 28
forecast Depends The whole set of functions/methods/classes from parent package is imported to the namespace of MAPA. 53 24
parallel Depends The whole set of functions/methods/classes from parent package is imported to the namespace of MAPA. 0 0
RColorBrewer Depends The whole set of functions/methods/classes from parent package is imported to the namespace of MAPA. 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 MAPA Co-heaviness as Jaccard coeffcient
forecast smooth 28 0.35

Analysis was done with pkgndep.