Dependency analysis on package s2

General information

CRAN link link
Package version1.0.7
Number of strong dependencies4
Number of all dependencies39
Number of parent packages2
Max heaviness from parent packages3
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)4

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils grDevices graphics stats tools cli rlang glue brio callr crayon desc digest ellipsis evaluate jsonlite lifecycle magrittr pkgload praise processx ps R6 waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 0 1 2 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents wk Rcpp vctrs testthat In total 4 packages are required directly or indirectly (39) when installing 's2' (1.0.7) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 's2' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on s2
Rcpp Imports 1 0 0 2 3
wk Imports 2 0 0 0 1
testthat Suggests No object is imported into the namespace of s2. 36 35
vctrs Suggests No object is imported into the namespace of s2. 5 4

Analysis was done with pkgndep.