Dependency analysis on package qgraph

General information

CRAN link link
Package version1.9.2
Number of strong dependencies85
Number of all dependencies88
Number of parent packages21
Max heaviness from parent packages25
Total heaviness from parent packages38
Number of parent packages (including Suggests and Enhances)23
Max co-heaviness from parent packages ("Hmisc" and "ggplot2")24

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods stats utils graphics grDevices grid parallel tools splines stats4 lattice magrittr Matrix pkgconfig MASS Rcpp nlme glue mnormt stringr stringi gtable digest isoband mgcv rlang scales tibble withr RColorBrewer viridisLite farver labeling lifecycle munsell R6 ellipsis fansi pillar vctrs colorspace cli crayon utf8 pbivnorm numDeriv plyr survival Formula ggplot2 latticeExtra cluster rpart nnet foreign gridExtra data.table htmlTable viridis htmltools base64enc png jpeg knitr checkmate htmlwidgets rstudioapi fastmap evaluate highr yaml xfun backports jsonlite igraph RcppEigen 0 5 10 Imported methods 0 20 40 60 Required packages 0 10 20 Heaviness from parents methods grDevices jpeg png glasso parallel corpcor pbapply Rcpp abind plyr fdrtool gtools colorspace Matrix psych lavaan igraph reshape2 ggplot2 Hmisc BDgraph huge In total 85 packages are required directly or indirectly (88) when installing 'qgraph' (1.9.2) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'qgraph' Imported functions Imported S4 classes The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on qgraph
Hmisc Imports 1 0 0 67 25
lavaan Imports 1 0 1 10 4
glasso Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qgraph. 0 1
corpcor Imports 1 0 0 1 1
pbapply Imports 1 0 0 1 1
abind Imports 1 0 0 2 1
fdrtool Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qgraph. 3 1
gtools Imports 2 0 0 3 1
psych Imports 1 0 0 10 1
igraph Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qgraph. 10 1
reshape2 Imports 1 0 0 10 1
methods Imports 1 0 0 0 0
grDevices Imports 14 0 0 0 0
jpeg Imports 1 0 0 0 0
png Imports 1 0 0 0 0
parallel Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qgraph. 0 0
Rcpp Imports 1 0 0 2 0
plyr Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qgraph. 3 0
colorspace Imports 1 0 0 4 0
Matrix Imports 2 0 0 7 0
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qgraph. 37 0
huge Suggests No object is imported into the namespace of qgraph. 14 2
BDgraph Suggests No object is imported into the namespace of qgraph. 11 1

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 qgraph Co-heaviness as Jaccard coeffcient
ggplot2 Hmisc 24 0.49

Analysis was done with pkgndep.