Dependency analysis on package rainbow

General information

CRAN link link
Package version3.6
Number of strong dependencies55
Number of all dependencies70
Number of parent packages6
Max heaviness from parent packages28
Total heaviness from parent packages30
Number of parent packages (including Suggests and Enhances)7
Max co-heaviness from parent packages ("hdrcde" and "ks")17

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats methods grDevices graphics utils grid splines tcltk parallel mvtnorm lattice Matrix mgcv nlme Rcpp KernSmooth FNN kernlab mclust multicool plot3D pracma misc3d ggplot2 RColorBrewer digest glue gtable isoband MASS rlang scales tibble withr farver labeling lifecycle munsell R6 viridisLite ellipsis fansi magrittr pillar pkgconfig vctrs colorspace cli crayon utf8 locfit ash ks fracdiff lmtest nnet timeDate tseries urca zoo RcppArmadillo quadprog quantmod xts TTR curl 0 0.5 1 Imported methods 0 20 40 Required packages 0 10 20 Heaviness from parents pcaPP MASS cluster colorspace ks hdrcde forecast In total 55 packages are required directly or indirectly (70) when installing 'rainbow' (3.6) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'rainbow' The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on rainbow
pcaPP Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rainbow. 3 1
MASS Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rainbow. 5 0
hdrcde Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rainbow. 52 28
cluster Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rainbow. 4 1
colorspace Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rainbow. 4 0
ks Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rainbow. 22 0
forecast Suggests No object is imported into the namespace of rainbow. 53 15

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 rainbow Co-heaviness as Jaccard coeffcient
ks hdrcde 17 0.378

Analysis was done with pkgndep.