Dependency analysis on package osmdata

General information

CRAN link link
Package version0.1.9
Number of strong dependencies43
Number of all dependencies87
Number of parent packages13
Max heaviness from parent packages4
Total heaviness from parent packages16
Number of parent packages (including Suggests and Enhances)19
Max co-heaviness from parent packages ("rvest" and "tibble")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils stats grDevices tools graphics grid magrittr glue jsonlite R6 rlang mime lifecycle ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 stringr stringi lattice curl openssl askpass sys tibble generics cpp11 proj4 PROJ crsmeta httr selectr xml2 xfun evaluate Rcpp highr yaml digest sp terra classInt DBI s2 units e1071 class KernSmooth wk proxy MASS bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr desc pkgload praise processx ps waldo withr rprojroot rstudioapi diffobj rematch2 0 2 4 6 Imported methods 0 10 20 30 Required packages 0 5 10 15 Heaviness from parents curl magrittr methods utils jsonlite xml2 Rcpp lubridate reproj sp httr tibble rvest markdown raster knitr sf rmarkdown testthat In total 43 packages are required directly or indirectly (87) when installing 'osmdata' (0.1.9) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'osmdata' 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 osmdata.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on osmdata
reproj Imports Parent package is listed in Imports of osmdata but no object from parent package is imported. 4 4
sp Imports The whole set of functions/methods/classes from parent package is imported to the namespace of osmdata. 7 4
rvest Imports 2 0 0 30 4
lubridate Imports 6 0 0 3 3
Rcpp Imports 1 0 0 2 1
curl Imports 1 0 0 0 0
magrittr Imports 1 0 0 0 0
methods Imports 2 0 0 0 0
utils Imports 2 0 0 0 0
jsonlite Imports 1 0 0 1 0
xml2 Imports 5 0 0 1 0
httr Imports 4 0 0 9 0
tibble Imports 1 0 0 15 0
rmarkdown Suggests No object is imported into the namespace of osmdata. 27 16
testthat Suggests No object is imported into the namespace of osmdata. 36 16
sf Suggests No object is imported into the namespace of osmdata. 19 11
knitr Suggests No object is imported into the namespace of osmdata. 12 5
markdown Suggests No object is imported into the namespace of osmdata. 5 2
raster Suggests No object is imported into the namespace of osmdata. 10 2

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 osmdata Co-heaviness as Jaccard coeffcient
tibble rvest 12 0.75

Analysis was done with pkgndep.