Dependency analysis on package ergm

General information

CRAN link link
Package version4.2.2
Number of strong dependencies44
Number of all dependencies95
Number of parent packages19
Max heaviness from parent packages5
Total heaviness from parent packages18
Number of parent packages (including Suggests and Enhances)34
Max co-heaviness from parent packages ("tibble" and "network")10

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils stats methods grDevices graphics tools grid parallel magrittr rlang glue lattice crayon ellipsis fansi lifecycle pillar pkgconfig vctrs cli utf8 tibble coda statnet.common stringi evaluate yaml fastmap highr stringr xfun cachem DEoptimR digest network knitr jsonlite R6 ergm MASS robustbase trust Matrix lpSolveAPI rle purrr memoise withr slam png jpeg RColorBrewer rex httr lazyeval curl mime openssl askpass sys bslib htmltools jquerylib tinytex sass base64enc fs rappdirs brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 networkDynamic nlme sna mvtnorm abind 0 2 4 6 8 Imported methods 0 20 40 Required packages 0 5 10 15 Heaviness from parents network lpSolveAPI magrittr parallel methods trust rle rlang digest purrr memoise robustbase MASS coda Matrix stringr statnet.common knitr tibble snow Rmpi slam Rglpk withr lattice latticeExtra covr sna networkDynamic rmarkdown testthat ergm.count tergm latentnet In total 44 packages are required directly or indirectly (95) when installing 'ergm' (4.2.2) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'ergm' 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 ergm.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on ergm
network Depends 2 0 0 24 1
knitr Imports Parent package is listed in Imports of ergm but no object from parent package is imported. 12 5
memoise Imports The whole set of functions/methods/classes from parent package is imported to the namespace of ergm. 4 3
robustbase Imports 1 0 0 5 2
lpSolveAPI Imports 8 0 0 0 1
trust Imports 1 0 0 1 1
rle Imports The whole set of functions/methods/classes from parent package is imported to the namespace of ergm. 1 1
digest Imports 1 0 0 1 1
purrr Imports 6 0 0 3 1
MASS Imports 1 0 0 5 1
Matrix Imports 1 0 0 7 1
magrittr Imports 2 0 0 0 0
parallel Imports 5 0 0 0 0
methods Imports 1 0 0 0 0
rlang Imports 4 0 0 1 0
coda Imports 1 0 0 6 0
stringr Imports Parent package is listed in Imports of ergm but no object from parent package is imported. 7 0
statnet.common Imports 5 0 0 10 0
tibble Imports 2 0 0 15 0
testthat Suggests No object is imported into the namespace of ergm. 36 16
covr Suggests No object is imported into the namespace of ergm. 20 12
rmarkdown Suggests No object is imported into the namespace of ergm. 27 11
latentnet Suggests No object is imported into the namespace of ergm. 48 5
latticeExtra Suggests No object is imported into the namespace of ergm. 9 4
tergm Suggests No object is imported into the namespace of ergm. 47 4
Rglpk Suggests No object is imported into the namespace of ergm. 2 2
ergm.count Suggests No object is imported into the namespace of ergm. 45 2
snow Suggests No object is imported into the namespace of ergm. 1 1
Rmpi Suggests No object is imported into the namespace of ergm. 1 1
slam Suggests No object is imported into the namespace of ergm. 1 1
withr Suggests No object is imported into the namespace of ergm. 3 1
sna Suggests No object is imported into the namespace of ergm. 25 1
networkDynamic Suggests No object is imported into the namespace of ergm. 25 1
lattice Suggests No object is imported into the namespace of ergm. 5 0

Analysis was done with pkgndep.