Dependency analysis on package leaflet

General information

CRAN link link
Package version2.1.1
Number of strong dependencies58
Number of all dependencies105
Number of parent packages15
Max heaviness from parent packages20
Total heaviness from parent packages33
Number of parent packages (including Suggests and Enhances)26
Max co-heaviness from parent packages ("viridis" and "scales")8

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods grDevices stats graphics grid tools splines rlang digest magrittr lattice R6 glue base64enc fastmap jsonlite Rcpp lifecycle htmltools sp withr ellipsis crayon xfun mime yaml farver labeling munsell RColorBrewer viridisLite colorspace MASS tibble fansi pillar pkgconfig vctrs cli utf8 terra lazyeval ggplot2 gridExtra gtable isoband mgcv scales nlme Matrix wk evaluate highr stringr stringi classInt DBI s2 units e1071 class KernSmooth proxy httpuv xtable fontawesome sourcetools later promises commonmark bslib cachem sass jquerylib fs rappdirs brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 1 2 Imported methods 0 10 20 30 40 Required packages 0 5 10 15 20 Heaviness from parents base64enc magrittr methods png RColorBrewer stats leaflet.providers markdown htmltools sp htmlwidgets raster crosstalk scales viridis R6 RJSONIO maps purrr s2 rgdal rgeos knitr sf shiny testthat In total 58 packages are required directly or indirectly (105) when installing 'leaflet' (2.1.1) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'leaflet' 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 leaflet.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on leaflet
viridis Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 39 20
markdown Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 5 4
raster Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 10 3
htmlwidgets Imports 1 0 0 10 2
crosstalk Imports The whole set of functions/methods/classes from parent package is imported to the namespace of leaflet. 11 2
png Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 0 1
leaflet.providers Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 0 1
base64enc Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 0 0
magrittr Imports 1 0 0 0 0
methods Imports 1 0 0 0 0
RColorBrewer Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 0 0
stats Imports 2 0 0 0 0
htmltools Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 6 0
sp Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 7 0
scales Imports Parent package is listed in Imports of leaflet but no object from parent package is imported. 15 0
shiny Suggests No object is imported into the namespace of leaflet. 34 14
testthat Suggests No object is imported into the namespace of leaflet. 36 14
sf Suggests No object is imported into the namespace of leaflet. 19 10
knitr Suggests No object is imported into the namespace of leaflet. 12 5
s2 Suggests No object is imported into the namespace of leaflet. 4 2
RJSONIO Suggests No object is imported into the namespace of leaflet. 1 1
maps Suggests No object is imported into the namespace of leaflet. 2 1
purrr Suggests No object is imported into the namespace of leaflet. 3 1
rgdal Suggests No object is imported into the namespace of leaflet. 8 1
rgeos Suggests No object is imported into the namespace of leaflet. 8 1
R6 Suggests No object is imported into the namespace of leaflet. 0 0

Analysis was done with pkgndep.