Dependency analysis on package thematic

General information

CRAN link link
Package version0.1.2.1
Number of strong dependencies40
Number of all dependencies99
Number of parent packages10
Max heaviness from parent packages21
Total heaviness from parent packages23
Number of parent packages (including Suggests and Enhances)29
Max co-heaviness from parent packages ("ggplot2" and "scales")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils grDevices stats methods graphics grid splines tools rlang R6 glue digest magrittr lifecycle withr ellipsis crayon tibble fansi pillar pkgconfig vctrs cli utf8 farver labeling munsell RColorBrewer viridisLite colorspace gtable isoband MASS mgcv scales nlme Matrix lattice base64enc fastmap jsonlite cpp11 evaluate htmltools stringi jquerylib sass fs rappdirs systemfonts highr stringr yaml xfun bslib Rcpp brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 textshaping sysfonts showtextdb knitr tinytex httpuv mime xtable fontawesome sourcetools later promises commonmark cachem testthat xml2 ggplot2 tweenr progress plyr hms prettyunits 0 2 4 6 8 Imported methods 0 20 40 Required packages 0 10 20 Heaviness from parents utils graphics grDevices grid farver rstudioapi rappdirs rlang scales ggplot2 stats sysfonts curl systemfonts jsonlite Cairo svglite withr ragg showtext lattice htmltools knitr bslib rmarkdown shiny testthat vdiffr gganimate In total 40 packages are required directly or indirectly (99) when installing 'thematic' (0.1.2.1) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'thematic' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on thematic
ggplot2 Imports Parent package is listed in Imports of thematic but no object from parent package is imported. 37 21
rstudioapi Imports 3 0 0 0 1
rappdirs Imports Parent package is listed in Imports of thematic but no object from parent package is imported. 0 1
utils Imports 8 0 0 0 0
graphics Imports 3 0 0 0 0
grDevices Imports 8 0 0 0 0
grid Imports 7 0 0 0 0
farver Imports Parent package is listed in Imports of thematic but no object from parent package is imported. 0 0
rlang Imports 3 0 0 1 0
scales Imports Parent package is listed in Imports of thematic but no object from parent package is imported. 15 0
vdiffr Suggests No object is imported into the namespace of thematic. 42 21
shiny Suggests No object is imported into the namespace of thematic. 34 20
rmarkdown Suggests No object is imported into the namespace of thematic. 27 18
testthat Suggests No object is imported into the namespace of thematic. 36 15
gganimate Suggests No object is imported into the namespace of thematic. 46 9
knitr Suggests No object is imported into the namespace of thematic. 12 8
bslib Suggests No object is imported into the namespace of thematic. 14 8
ragg Suggests No object is imported into the namespace of thematic. 3 4
svglite Suggests No object is imported into the namespace of thematic. 2 3
showtext Suggests No object is imported into the namespace of thematic. 4 3
htmltools Suggests No object is imported into the namespace of thematic. 6 3
systemfonts Suggests No object is imported into the namespace of thematic. 1 2
sysfonts Suggests No object is imported into the namespace of thematic. 0 1
curl Suggests No object is imported into the namespace of thematic. 0 1
jsonlite Suggests No object is imported into the namespace of thematic. 1 1
Cairo Suggests No object is imported into the namespace of thematic. 2 1
stats Suggests No object is imported into the namespace of thematic. 0 0
withr Suggests No object is imported into the namespace of thematic. 3 0
lattice Suggests No object is imported into the namespace of thematic. 5 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 thematic Co-heaviness as Jaccard coeffcient
scales ggplot2 11 0.344

Analysis was done with pkgndep.