Dependency analysis on package scales

General information

CRAN link link
Package version1.2.0
Number of strong dependencies15
Number of all dependencies69
Number of parent packages8
Max heaviness from parent packages3
Total heaviness from parent packages10
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("lifecycle" and "rlang")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils stats methods graphics grDevices tools grid splines glue rlang colorspace lifecycle ellipsis pkgconfig vctrs cli crayon digest withr R6 tibble fansi magrittr pillar utf8 jsonlite diffobj rematch2 bit rex httr yaml lazyeval curl mime openssl askpass sys brio callr desc evaluate pkgload praise processx ps waldo rprojroot rstudioapi gtable isoband MASS mgcv scales nlme Matrix farver labeling munsell RColorBrewer viridisLite lattice 0 1 2 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents farver R6 RColorBrewer viridisLite rlang labeling lifecycle munsell dichromat stringi bit64 hms covr waldo testthat ggplot2 In total 15 packages are required directly or indirectly (69) when installing 'scales' (1.2.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'scales' 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 scales.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on scales
munsell Imports 1 0 0 5 3
lifecycle Imports 2 0 0 4 2
farver Imports Parent package is listed in Imports of scales but no object from parent package is imported. 0 1
R6 Imports 1 0 0 0 1
RColorBrewer Imports Parent package is listed in Imports of scales but no object from parent package is imported. 0 1
viridisLite Imports Parent package is listed in Imports of scales but no object from parent package is imported. 0 1
labeling Imports Parent package is listed in Imports of scales but no object from parent package is imported. 2 1
rlang Imports The whole set of functions/methods/classes from parent package is imported to the namespace of scales. 1 0
testthat Suggests No object is imported into the namespace of scales. 36 28
ggplot2 Suggests No object is imported into the namespace of scales. 37 23
covr Suggests No object is imported into the namespace of scales. 20 15
waldo Suggests No object is imported into the namespace of scales. 20 14
hms Suggests No object is imported into the namespace of scales. 9 5
stringi Suggests No object is imported into the namespace of scales. 3 2
bit64 Suggests No object is imported into the namespace of scales. 4 2
dichromat Suggests No object is imported into the namespace of scales. 1 1

Analysis was done with pkgndep.