Dependency analysis on package ggridges

General information

CRAN link link
Package version0.5.3
Number of strong dependencies40
Number of all dependencies91
Number of parent packages5
Max heaviness from parent packages20
Total heaviness from parent packages22
Number of parent packages (including Suggests and Enhances)14
Max co-heaviness from parent packages ("ggplot2" and "scales")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods grDevices stats graphics grid splines tools glue rlang R6 magrittr lifecycle crayon digest tibble ellipsis fansi pillar pkgconfig vctrs cli utf8 withr farver labeling munsell RColorBrewer viridisLite colorspace gtable isoband MASS mgcv scales nlme Matrix lattice Rcpp evaluate jsonlite yaml highr stringr xfun stringi htmltools base64enc fastmap brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 rex httr lazyeval curl mime openssl askpass sys generics tidyselect purrr bslib jquerylib knitr tinytex sass fs rappdirs ggplot2 testthat xml2 cpp11 0 2 4 6 8 Imported methods 0 20 40 Required packages 0 10 20 Heaviness from parents grid plyr withr scales ggplot2 ggplot2movies knitr forcats covr dplyr rmarkdown testthat patchwork vdiffr In total 40 packages are required directly or indirectly (91) when installing 'ggridges' (0.5.3) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'ggridges' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on ggridges
ggplot2 Imports 8 0 0 37 20
plyr Imports 1 0 0 3 2
grid Imports 2 0 0 0 0
withr Imports Parent package is listed in Imports of ggridges but no object from parent package is imported. 3 0
scales Imports 1 0 0 15 0
vdiffr Suggests No object is imported into the namespace of ggridges. 42 22
rmarkdown Suggests No object is imported into the namespace of ggridges. 27 19
testthat Suggests No object is imported into the namespace of ggridges. 36 16
covr Suggests No object is imported into the namespace of ggridges. 20 12
knitr Suggests No object is imported into the namespace of ggridges. 12 8
dplyr Suggests No object is imported into the namespace of ggridges. 20 4
ggplot2movies Suggests No object is imported into the namespace of ggridges. 0 1
forcats Suggests No object is imported into the namespace of ggridges. 16 1
patchwork Suggests No object is imported into the namespace of ggridges. 38 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 ggridges Co-heaviness as Jaccard coeffcient
scales ggplot2 11 0.355

Analysis was done with pkgndep.