Dependency analysis on package scattermore

General information

CRAN link link
Package version0.8
Number of strong dependencies38
Number of all dependencies38
Number of parent packages5
Max heaviness from parent packages21
Total heaviness from parent packages21
Number of parent packages (including Suggests and Enhances)5
Max co-heaviness from parent packages ("ggplot2" and "scales")14

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports grDevices stats utils methods graphics grid splines glue rlang farver labeling lifecycle munsell R6 RColorBrewer viridisLite colorspace digest gtable isoband MASS mgcv scales tibble withr nlme Matrix ellipsis fansi magrittr pillar pkgconfig vctrs lattice cli crayon utf8 0 2 4 6 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents grid grDevices graphics scales ggplot2 In total 38 packages are required directly or indirectly (38) when installing 'scattermore' (0.8) Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'scattermore' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on scattermore
ggplot2 Imports 6 0 0 37 21
grid Imports 1 0 0 0 0
grDevices Imports 4 0 0 0 0
graphics Imports 3 0 0 0 0
scales Imports 1 0 0 15 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 scattermore Co-heaviness as Jaccard coeffcient
scales ggplot2 14 0.4

Analysis was done with pkgndep.