Dependency analysis on package mapview

General information

CRAN link link
Package version2.11.0
Number of strong dependencies92
Number of all dependencies133
Number of parent packages16
Max heaviness from parent packages6
Total heaviness from parent packages23
Number of parent packages (including Suggests and Enhances)31
Max co-heaviness from parent packages ("leafem" and "leaflet")24

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils methods grDevices stats graphics grid tools splines stats4 parallel Rcpp rlang magrittr jsonlite digest yaml base64enc fastmap R6 lattice htmltools sp glue MASS terra xfun mime htmlwidgets raster lifecycle viridisLite wk withr crayon RColorBrewer farver labeling munsell colorspace classInt DBI s2 units e1071 class KernSmooth proxy png lazyeval ellipsis sf crosstalk markdown scales viridis leaflet.providers ggplot2 gridExtra gtable isoband mgcv tibble nlme Matrix fansi pillar pkgconfig vctrs cli utf8 leaflet httpuv promises later geojsonsf geometries jsonify rapidjsonr sfheaders callr processx ps plyr brew svglite uuid systemfonts cpp11 evaluate highr stringr stringi bslib sass jquerylib fs rappdirs rex httr curl openssl askpass sys abind lwgeom knitr tinytex colourvalues googlePolylines shiny BH spatialwidget xtable fontawesome sourcetools commonmark cachem 0 0.5 1 Imported methods 0 20 40 60 Required packages 0 5 10 15 Heaviness from parents methods base64enc png lattice htmltools sp webshot htmlwidgets raster satellite servr scales sf leafpop leaflet leafem poorman rstudioapi tinytest later s2 rgdal knitr covr lwgeom plainview stars rmarkdown mapdeck leaflet.extras2 leafsync In total 92 packages are required directly or indirectly (133) when installing 'mapview' (2.11.0) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'mapview' 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 mapview.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on mapview
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 0 0
leafpop Imports Parent package is listed in Imports of mapview but no object from parent package is imported. 33 6
leafem Imports 1 0 0 74 6
webshot Imports 1 0 0 8 4
servr Imports Parent package is listed in Imports of mapview but no object from parent package is imported. 14 4
satellite Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 14 3
base64enc Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 0 0
png Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 0 0
lattice Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 5 0
htmltools Imports Parent package is listed in Imports of mapview but no object from parent package is imported. 6 0
sp Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 7 0
htmlwidgets Imports Parent package is listed in Imports of mapview but no object from parent package is imported. 10 0
raster Imports 1 0 0 10 0
scales Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 15 0
sf Imports 1 0 0 19 0
leaflet Imports The whole set of functions/methods/classes from parent package is imported to the namespace of mapview. 58 0
mapdeck Suggests No object is imported into the namespace of mapview. 46 16
rmarkdown Suggests No object is imported into the namespace of mapview. 27 12
covr Suggests No object is imported into the namespace of mapview. 20 7
knitr Suggests No object is imported into the namespace of mapview. 12 5
stars Suggests No object is imported into the namespace of mapview. 24 4
tinytest Suggests No object is imported into the namespace of mapview. 2 2
poorman Suggests No object is imported into the namespace of mapview. 0 1
rstudioapi Suggests No object is imported into the namespace of mapview. 0 1
rgdal Suggests No object is imported into the namespace of mapview. 8 1
lwgeom Suggests No object is imported into the namespace of mapview. 20 1
plainview Suggests No object is imported into the namespace of mapview. 21 1
leaflet.extras2 Suggests No object is imported into the namespace of mapview. 59 1
leafsync Suggests No object is imported into the namespace of mapview. 59 1
later Suggests No object is imported into the namespace of mapview. 4 0
s2 Suggests No object is imported into the namespace of mapview. 4 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 mapview Co-heaviness as Jaccard coeffcient
leaflet leafem 24 0.8

Analysis was done with pkgndep.