Dependency analysis on package patchwork

General information

CRAN link link
Package version1.1.1
Number of strong dependencies38
Number of all dependencies88
Number of parent packages7
Max heaviness from parent packages32
Total heaviness from parent packages32
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("ggplot2" and "stats")1

Dependency heatmap

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

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


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on patchwork
ggplot2 Imports 27 0 0 37 32
grid Imports 21 0 0 0 0
stats Imports 1 0 0 0 0
grDevices Imports 1 0 0 0 0
utils Imports 4 0 0 0 0
graphics Imports Parent package is listed in Imports of patchwork but no object from parent package is imported. 0 0
gtable Imports 7 0 0 1 0
vdiffr Suggests No object is imported into the namespace of patchwork. 42 22
rmarkdown Suggests No object is imported into the namespace of patchwork. 27 19
testthat Suggests No object is imported into the namespace of patchwork. 36 16
covr Suggests No object is imported into the namespace of patchwork. 20 12
knitr Suggests No object is imported into the namespace of patchwork. 12 8
ragg Suggests No object is imported into the namespace of patchwork. 3 4
png Suggests No object is imported into the namespace of patchwork. 0 1
gridGraphics Suggests No object is imported into the namespace of patchwork. 3 1
gridExtra Suggests No object is imported into the namespace of patchwork. 5 1

Analysis was done with pkgndep.