Dependency analysis on package treemap

General information

CRAN link link
Package version2.4-3
Number of strong dependencies62
Number of all dependencies70
Number of parent packages9
Max heaviness from parent packages21
Total heaviness from parent packages42
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("ggplot2" and "shiny")8

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods stats graphics utils grDevices grid tools splines magrittr glue Matrix pkgconfig lattice digest rlang withr lifecycle R6 ellipsis crayon mime httpuv jsonlite xtable fontawesome htmltools sourcetools later promises fastmap commonmark bslib cachem Rcpp base64enc sass jquerylib fs rappdirs gtable isoband MASS mgcv scales tibble nlme farver labeling munsell RColorBrewer viridisLite fansi pillar vctrs colorspace cli utf8 xfun evaluate highr stringr yaml stringi 0 2 4 6 8 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents grid methods RColorBrewer data.table gridBase colorspace igraph shiny ggplot2 markdown knitr In total 62 packages are required directly or indirectly (70) when installing 'treemap' (2.4-3) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'treemap' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on treemap
shiny Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 34 21
ggplot2 Imports 9 0 0 37 18
data.table Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 1 1
gridBase Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 2 1
igraph Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 10 1
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 0 0
methods Imports 1 0 0 0 0
RColorBrewer Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 0 0
colorspace Imports The whole set of functions/methods/classes from parent package is imported to the namespace of treemap. 4 0
knitr Suggests No object is imported into the namespace of treemap. 12 7
markdown Suggests No object is imported into the namespace of treemap. 5 2

Analysis was done with pkgndep.