Dependency analysis on package tmap

General information

CRAN link link
Package version3.3-3
Number of strong dependencies85
Number of all dependencies168
Number of parent packages19
Max heaviness from parent packages6
Total heaviness from parent packages12
Number of parent packages (including Suggests and Enhances)34
Max co-heaviness from parent packages ("tmaptools" and "stars")3

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils methods grDevices stats graphics tools grid splines parallel magrittr rlang Rcpp R6 glue digest jsonlite crayon MASS lifecycle ellipsis tibble fansi pillar pkgconfig vctrs cli utf8 base64enc fastmap yaml withr e1071 class KernSmooth proxy htmltools wk mime units classInt DBI s2 lattice sf RColorBrewer viridisLite sp lazyeval xfun htmlwidgets purrr scales farver labeling munsell colorspace gtable isoband mgcv nlme Matrix crosstalk markdown png raster viridis leaflet.providers terra ggplot2 gridExtra lwgeom abind leaflet geojsonsf geometries jsonify rapidjsonr sfheaders stars dichromat XML evaluate stringr stringi tidyselect generics curl cpp11 highr httr openssl askpass sys bslib jquerylib sass fs rappdirs rex packcircles dplyr knitr tinytex httpuv xtable fontawesome sourcetools later promises commonmark cachem brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 lubridate reproj rvest xml2 proj4 PROJ crsmeta selectr geojsonio geojsonlint readr V8 rgeos crul maptools geojson jqr jsonvalidate clipr hms vroom tzdb urltools httpcode foreign protolite bit64 progress triebeard bit prettyunits 0 2 4 6 8 Imported methods 0 20 40 60 Required packages 0 10 20 Heaviness from parents methods grid RColorBrewer viridisLite stats utils rlang abind units htmltools classInt htmlwidgets widgetframe sf stars tmaptools leaflet leafsync leafem png gifski av s2 knitr dplyr covr cartogram tidyr rmarkdown shiny testthat ggplot2 osmdata rmapshaper In total 85 packages are required directly or indirectly (168) when installing 'tmap' (3.3-3) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'tmap' 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 tmap.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on tmap
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 0 0
leafem Imports 3 0 0 74 6
tmaptools Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 29 3
widgetframe Imports Parent package is listed in Imports of tmap but no object from parent package is imported. 14 2
leafsync Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 59 1
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 0 0
RColorBrewer Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 0 0
viridisLite Imports 1 0 0 0 0
stats Imports 6 0 0 0 0
utils Imports 9 0 0 0 0
rlang Imports 2 0 0 1 0
abind Imports 1 0 0 2 0
units Imports 2 0 0 3 0
htmltools Imports 3 0 0 6 0
classInt Imports 2 0 0 10 0
htmlwidgets Imports 4 0 0 10 0
sf Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 19 0
stars Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 24 0
leaflet Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmap. 58 0
rmapshaper Suggests No object is imported into the namespace of tmap. 71 27
osmdata Suggests No object is imported into the namespace of tmap. 43 18
shiny Suggests No object is imported into the namespace of tmap. 34 14
testthat Suggests No object is imported into the namespace of tmap. 36 14
rmarkdown Suggests No object is imported into the namespace of tmap. 27 12
covr Suggests No object is imported into the namespace of tmap. 20 7
knitr Suggests No object is imported into the namespace of tmap. 12 5
tidyr Suggests No object is imported into the namespace of tmap. 22 5
dplyr Suggests No object is imported into the namespace of tmap. 20 3
cartogram Suggests No object is imported into the namespace of tmap. 21 2
gifski Suggests No object is imported into the namespace of tmap. 0 1
av Suggests No object is imported into the namespace of tmap. 1 1
png Suggests No object is imported into the namespace of tmap. 0 0
s2 Suggests No object is imported into the namespace of tmap. 4 0
ggplot2 Suggests No object is imported into the namespace of tmap. 37 0

Analysis was done with pkgndep.