Dependency analysis on package cshapes

General information

CRAN link link
Package version2.0
Number of strong dependencies72
Number of all dependencies87
Number of parent packages3
Max heaviness from parent packages50
Total heaviness from parent packages50
Number of parent packages (including Suggests and Enhances)4
Max co-heaviness from parent packages ("rmapshaper" and "sf")14

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods graphics grDevices stats utils grid tools magrittr lattice classInt DBI Rcpp s2 units e1071 class KernSmooth wk proxy MASS jsonlite cli crayon lifecycle R6 rlang tibble glue ellipsis pkgconfig vctrs fansi pillar withr utf8 geojsonio geojsonlint readr sf sp V8 geojsonsf rgeos crul maptools geojson jqr jsonvalidate clipr hms vroom cpp11 tzdb curl geometries jsonify rapidjsonr sfheaders urltools httpcode mime foreign protolite lazyeval bit64 tidyselect progress triebeard bit purrr prettyunits brio callr desc digest evaluate pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 1 2 3 Imported methods 0 20 40 60 Required packages 0 20 40 Heaviness from parents sp sf rmapshaper testthat In total 72 packages are required directly or indirectly (87) when installing 'cshapes' (2.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'cshapes' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on cshapes
rmapshaper Imports 1 0 0 71 50
sp Imports Parent package is listed in Imports of cshapes but no object from parent package is imported. 7 0
sf Imports 3 0 0 19 0
testthat Suggests No object is imported into the namespace of cshapes. 36 15

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 cshapes Co-heaviness as Jaccard coeffcient
sf rmapshaper 14 0.219

Analysis was done with pkgndep.