Dependency analysis on package rmapshaper

General information

CRAN link link
Package version0.4.6
Number of strong dependencies71
Number of all dependencies109
Number of parent packages8
Max heaviness from parent packages13
Total heaviness from parent packages15
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("geojsonio" and "readr")25

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils stats grDevices graphics tools grid jsonlite R6 magrittr Rcpp glue curl lattice crayon rlang withr mime cli lifecycle tibble ellipsis pkgconfig vctrs fansi pillar utf8 sp crul V8 urltools httpcode triebeard classInt DBI s2 units e1071 class KernSmooth wk proxy MASS clipr hms vroom cpp11 tzdb bit64 tidyselect progress bit purrr prettyunits lazyeval jsonvalidate sf geojsonsf rgeos maptools readr geojson jqr geometries jsonify rapidjsonr sfheaders foreign protolite evaluate yaml digest highr stringr xfun stringi rex httr openssl askpass sys bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 2 4 Imported methods 0 20 40 60 Required packages 0 5 10 15 Heaviness from parents methods jsonlite V8 sp geojsonlint sf readr geojsonio magrittr units rgdal rgeos knitr covr rmarkdown testthat In total 71 packages are required directly or indirectly (109) when installing 'rmapshaper' (0.4.6) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'rmapshaper' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on rmapshaper
geojsonio Imports Parent package is listed in Imports of rmapshaper but no object from parent package is imported. 68 13
geojsonlint Imports 1 0 0 14 2
methods Imports 4 0 0 0 0
jsonlite Imports Parent package is listed in Imports of rmapshaper but no object from parent package is imported. 1 0
V8 Imports 1 0 0 5 0
sp Imports Parent package is listed in Imports of rmapshaper but no object from parent package is imported. 7 0
sf Imports Parent package is listed in Imports of rmapshaper but no object from parent package is imported. 19 0
readr Imports Parent package is listed in Imports of rmapshaper but no object from parent package is imported. 31 0
rmarkdown Suggests No object is imported into the namespace of rmapshaper. 27 18
testthat Suggests No object is imported into the namespace of rmapshaper. 36 15
covr Suggests No object is imported into the namespace of rmapshaper. 20 8
knitr Suggests No object is imported into the namespace of rmapshaper. 12 7
rgdal Suggests No object is imported into the namespace of rmapshaper. 8 1
magrittr Suggests No object is imported into the namespace of rmapshaper. 0 0
units Suggests No object is imported into the namespace of rmapshaper. 3 0
rgeos Suggests No object is imported into the namespace of rmapshaper. 8 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 rmapshaper Co-heaviness as Jaccard coeffcient
readr geojsonio 25 0.658
sf geojsonio 11 0.458

Analysis was done with pkgndep.