Dependency analysis on package sna

General information

CRAN link link
Package version2.7
Number of strong dependencies25
Number of all dependencies42
Number of parent packages3
Max heaviness from parent packages14
Total heaviness from parent packages14
Number of parent packages (including Suggests and Enhances)6
Max co-heaviness from parent packages ("network" and "statnet.common")10

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Suggests utils methods graphics stats tools grDevices parallel grid coda lattice magrittr rlang glue tibble statnet.common ellipsis fansi lifecycle pillar pkgconfig vctrs cli crayon utf8 htmlwidgets htmltools knitr jsonlite R6 yaml digest base64enc fastmap evaluate highr stringr xfun stringi 0 0.5 1 Imported methods 0 10 20 Required packages 0 5 10 15 Heaviness from parents utils statnet.common network numDeriv SparseM rgl In total 25 packages are required directly or indirectly (42) when installing 'sna' (2.7) Depends Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'sna' The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on sna
network Depends The whole set of functions/methods/classes from parent package is imported to the namespace of sna. 24 14
utils Depends The whole set of functions/methods/classes from parent package is imported to the namespace of sna. 0 0
statnet.common Depends The whole set of functions/methods/classes from parent package is imported to the namespace of sna. 10 0
rgl Suggests No object is imported into the namespace of sna. 23 15
numDeriv Suggests No object is imported into the namespace of sna. 0 1
SparseM Suggests No object is imported into the namespace of sna. 4 1

Analysis was done with pkgndep.