Dependency analysis on package tmaptools

General information

CRAN link link
Package version3.1-1
Number of strong dependencies29
Number of all dependencies147
Number of parent packages12
Max heaviness from parent packages4
Total heaviness from parent packages8
Number of parent packages (including Suggests and Enhances)20
Max co-heaviness from parent packages ("stars" and "lwgeom")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests methods utils stats graphics grDevices grid tools parallel splines Rcpp magrittr rlang MASS classInt DBI s2 units e1071 class KernSmooth wk proxy sf abind lwgeom R6 lifecycle glue ellipsis crayon sp lattice jsonlite mime withr digest tibble fansi pillar pkgconfig vctrs cli utf8 terra htmltools base64enc fastmap httpuv xtable fontawesome sourcetools later promises commonmark bslib cachem sass jquerylib fs rappdirs cpp11 curl RColorBrewer viridisLite raster scales farver labeling munsell ggplot2 colorspace gtable isoband mgcv nlme Matrix purrr geojsonsf lazyeval geometries jsonify rapidjsonr sfheaders shiny httr lubridate reproj rvest xml2 openssl generics proj4 PROJ crsmeta selectr askpass stringr sys stringi rJava rgdal geojsonio geojsonlint readr V8 rgeos crul maptools geojson jqr jsonvalidate clipr hms vroom tzdb urltools httpcode foreign protolite bit64 tidyselect progress triebeard bit prettyunits tmaptools stars htmlwidgets widgetframe leaflet leafsync leafem dichromat XML yaml crosstalk markdown png viridis leaflet.providers xfun gridExtra 0 2 4 Imported methods 0 20 40 60 80 Required packages 0 20 40 Heaviness from parents methods grid magrittr RColorBrewer viridisLite stats dichromat XML units sf lwgeom stars png raster shiny shinyjs osmdata OpenStreetMap rmapshaper tmap In total 29 packages are required directly or indirectly (147) when installing 'tmaptools' (3.1-1) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'tmaptools' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on tmaptools
methods Depends 1 0 0 0 0
stars Imports 1 0 0 24 4
RColorBrewer Imports 2 0 0 0 1
viridisLite Imports 1 0 0 0 1
dichromat Imports 1 0 0 1 1
XML Imports 5 0 0 2 1
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmaptools. 0 0
magrittr Imports 1 0 0 0 0
stats Imports 2 0 0 0 0
units Imports 2 0 0 3 0
sf Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tmaptools. 19 0
lwgeom Imports 2 0 0 20 0
tmap Suggests No object is imported into the namespace of tmaptools. 85 57
rmapshaper Suggests No object is imported into the namespace of tmaptools. 71 51
osmdata Suggests No object is imported into the namespace of tmaptools. 43 34
OpenStreetMap Suggests No object is imported into the namespace of tmaptools. 44 33
shinyjs Suggests No object is imported into the namespace of tmaptools. 35 27
shiny Suggests No object is imported into the namespace of tmaptools. 34 26
raster Suggests No object is imported into the namespace of tmaptools. 10 4
png Suggests No object is imported into the namespace of tmaptools. 0 1

Analysis was done with pkgndep.