Dependency analysis on package viridis

General information

CRAN link link
Package version0.6.2
Number of strong dependencies39
Number of all dependencies100
Number of parent packages4
Max heaviness from parent packages31
Total heaviness from parent packages32
Number of parent packages (including Suggests and Enhances)21
Max co-heaviness from parent packages ("ggplot2" and "gridExtra")5

Dependency heatmap

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

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


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on viridis
viridisLite Depends 9 0 0 0 0
ggplot2 Imports 3 0 0 37 31
gridExtra Imports 1 0 0 5 1
stats Imports Parent package is listed in Imports of viridis but no object from parent package is imported. 0 0
vdiffr Suggests No object is imported into the namespace of viridis. 42 22
rmarkdown Suggests No object is imported into the namespace of viridis. 27 19
testthat Suggests No object is imported into the namespace of viridis. 36 16
covr Suggests No object is imported into the namespace of viridis. 20 12
rasterVis Suggests No object is imported into the namespace of viridis. 19 11
httr Suggests No object is imported into the namespace of viridis. 9 8
knitr Suggests No object is imported into the namespace of viridis. 12 8
raster Suggests No object is imported into the namespace of viridis. 10 4
svglite Suggests No object is imported into the namespace of viridis. 2 3
mapproj Suggests No object is imported into the namespace of viridis. 4 2
rgdal Suggests No object is imported into the namespace of viridis. 8 2
dichromat Suggests No object is imported into the namespace of viridis. 1 1
maps Suggests No object is imported into the namespace of viridis. 2 1
hexbin Suggests No object is imported into the namespace of viridis. 7 1
colorspace Suggests No object is imported into the namespace of viridis. 4 0
MASS Suggests No object is imported into the namespace of viridis. 5 0
scales Suggests No object is imported into the namespace of viridis. 15 0

Analysis was done with pkgndep.