Dependency analysis on package dotwhisker

General information

CRAN link link
Package version0.7.4
Number of strong dependencies55
Number of all dependencies79
Number of parent packages11
Max heaviness from parent packages4
Total heaviness from parent packages16
Number of parent packages (including Suggests and Enhances)17
Max co-heaviness from parent packages ("ggstance" and "ggplot2")16

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils methods grDevices stats graphics grid tools splines magrittr glue rlang MASS lifecycle R6 ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 digest gtable tibble Matrix lattice stringi isoband mgcv scales withr nlme farver labeling munsell RColorBrewer viridisLite colorspace generics tidyselect purrr ggplot2 bayestestR datawizard insight prediction data.table plyr Rcpp stringr evaluate highr yaml xfun ucminf numDeriv bslib htmltools jquerylib jsonlite knitr tinytex sass base64enc fastmap fs rappdirs backports dplyr tidyr cpp11 0 5 10 Imported methods 0 20 40 Required packages 0 5 10 15 Heaviness from parents ggplot2 grid stats rlang gtable purrr parameters stringr margins dplyr ggstance gridExtra ordinal knitr tibble rmarkdown broom In total 55 packages are required directly or indirectly (79) when installing 'dotwhisker' (0.7.4) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'dotwhisker' 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 dotwhisker.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on dotwhisker
ggplot2 Depends The whole set of functions/methods/classes from parent package is imported to the namespace of dotwhisker. 37 0
parameters Imports 2 0 0 7 4
stringr Imports 1 0 0 7 3
margins Imports Parent package is listed in Imports of dotwhisker but no object from parent package is imported. 8 3
dplyr Imports 14 0 0 20 3
ggstance Imports 3 0 0 40 3
grid Imports 4 0 0 0 0
stats Imports 7 0 0 0 0
rlang Imports 1 0 0 1 0
gtable Imports The whole set of functions/methods/classes from parent package is imported to the namespace of dotwhisker. 1 0
purrr Imports 2 0 0 3 0
rmarkdown Suggests No object is imported into the namespace of dotwhisker. 27 16
knitr Suggests No object is imported into the namespace of dotwhisker. 12 5
broom Suggests No object is imported into the namespace of dotwhisker. 48 4
ordinal Suggests No object is imported into the namespace of dotwhisker. 11 3
gridExtra Suggests No object is imported into the namespace of dotwhisker. 5 1
tibble Suggests No object is imported into the namespace of dotwhisker. 15 0

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 dotwhisker Co-heaviness as Jaccard coeffcient
ggplot2 ggstance 16 0.842

Analysis was done with pkgndep.