Dependency analysis on package ggrastr

General information

CRAN link link
Package version1.0.1
Number of strong dependencies47
Number of all dependencies78
Number of parent packages6
Max heaviness from parent packages4
Total heaviness from parent packages9
Number of parent packages (including Suggests and Enhances)10
Max co-heaviness from parent packages ("ggbeeswarm" and "ggplot2")35

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils grDevices graphics stats methods grid splines tools magrittr glue digest MASS rlang R6 gtable isoband mgcv scales tibble withr nlme Matrix farver labeling lifecycle munsell RColorBrewer viridisLite ellipsis fansi pillar pkgconfig vctrs lattice colorspace cli crayon utf8 systemfonts textshaping cpp11 ggplot2 beeswarm vipor evaluate highr stringr yaml xfun stringi classInt DBI Rcpp s2 units e1071 class KernSmooth wk proxy bslib htmltools jquerylib jsonlite knitr tinytex sass base64enc fastmap fs rappdirs 0 0.5 1 Imported methods 0 10 20 30 40 Required packages 0 5 10 15 Heaviness from parents grid png Cairo ragg ggplot2 ggbeeswarm maps knitr sf rmarkdown In total 47 packages are required directly or indirectly (78) when installing 'ggrastr' (1.0.1) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'ggrastr' 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 ggrastr.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on ggrastr
ragg Imports Parent package is listed in Imports of ggrastr but no object from parent package is imported. 3 4
ggbeeswarm Imports The whole set of functions/methods/classes from parent package is imported to the namespace of ggrastr. 40 3
png Imports Parent package is listed in Imports of ggrastr but no object from parent package is imported. 0 1
Cairo Imports Parent package is listed in Imports of ggrastr but no object from parent package is imported. 2 1
grid Imports 1 0 0 0 0
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of ggrastr. 37 0
rmarkdown Suggests No object is imported into the namespace of ggrastr. 27 19
sf Suggests No object is imported into the namespace of ggrastr. 19 12
knitr Suggests No object is imported into the namespace of ggrastr. 12 8
maps Suggests No object is imported into the namespace of ggrastr. 2 1

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 ggrastr Co-heaviness as Jaccard coeffcient
ggplot2 ggbeeswarm 35 0.921

Analysis was done with pkgndep.