Dependency analysis on package igraph

General information

CRAN link link
Package version1.3.1
Number of strong dependencies10
Number of all dependencies67
Number of parent packages8
Max heaviness from parent packages3
Total heaviness from parent packages5
Number of parent packages (including Suggests and Enhances)18
Max co-heaviness from parent packages ("Matrix" and "methods")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils graphics stats methods grDevices grid tools stats4 parallel lattice R6 rlang glue lifecycle jsonlite magrittr digest evaluate BiocGenerics nlme Rcpp farver labeling munsell RColorBrewer viridisLite colorspace htmlwidgets htmltools knitr yaml base64enc fastmap highr stringr xfun stringi brio callr cli crayon desc ellipsis pkgload praise processx ps waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 0 5 10 15 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents methods graphics grDevices magrittr stats utils pkgconfig Matrix igraphdata stats4 tcltk digest withr graph ape scales rgl testthat In total 10 packages are required directly or indirectly (67) when installing 'igraph' (1.3.1) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'igraph' 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 igraph.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on igraph
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of igraph. 0 0
Matrix Imports Parent package is listed in Imports of igraph but no object from parent package is imported. 7 3
magrittr Imports 1 0 0 0 1
pkgconfig Imports 3 0 0 1 1
graphics Imports 15 0 0 0 0
grDevices Imports 5 0 0 0 0
stats Imports 13 0 0 0 0
utils Imports 12 0 0 0 0
testthat Suggests No object is imported into the namespace of igraph. 36 30
rgl Suggests No object is imported into the namespace of igraph. 23 18
scales Suggests No object is imported into the namespace of igraph. 15 11
ape Suggests No object is imported into the namespace of igraph. 11 5
graph Suggests No object is imported into the namespace of igraph. 6 3
igraphdata Suggests No object is imported into the namespace of igraph. 0 1
stats4 Suggests No object is imported into the namespace of igraph. 0 1
tcltk Suggests No object is imported into the namespace of igraph. 0 1
digest Suggests No object is imported into the namespace of igraph. 1 1
withr Suggests No object is imported into the namespace of igraph. 3 1

Analysis was done with pkgndep.