Dependency analysis on package gRain

General information

CRAN link link
Package version1.3.10
Number of strong dependencies22
Number of all dependencies59
Number of parent packages10
Max heaviness from parent packages4
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)13
Max co-heaviness from parent packages ("igraph" and "gRbase")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports LinkingTo Suggests methods utils stats graphics grDevices grid stats4 tools magrittr Matrix Rcpp BiocGenerics pkgconfig lattice graph BiocManager RBGL Rgraphviz igraph RcppEigen RcppArmadillo BH evaluate glue highr stringr yaml xfun stringi brio callr cli crayon desc digest ellipsis jsonlite lifecycle pkgload praise processx ps R6 rlang waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar vctrs utf8 0 5 10 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents methods gRbase stats4 magrittr Rcpp graph Rgraphviz igraph RcppArmadillo RcppEigen microbenchmark knitr testthat In total 22 packages are required directly or indirectly (59) when installing 'gRain' (1.3.10) Depends Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'gRain' Imported functions Imported S4 methods Imported S4 classes 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 gRain.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on gRain
gRbase Depends The whole set of functions/methods/classes from parent package is imported to the namespace of gRain. 21 4
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of gRain. 0 0
stats4 Imports 0 1 0 0 0
magrittr Imports 1 0 0 0 0
Rcpp Imports 1 0 0 2 0
graph Imports 2 0 1 6 0
Rgraphviz Imports 0 1 0 9 0
igraph Imports 13 0 0 10 0
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of gRain but no object from parent package is imported. 4 0
RcppEigen LinkingTo Parent package is listed in LinkingTo of gRain but no object from parent package is imported. 9 0
testthat Suggests No object is imported into the namespace of gRain. 36 30
knitr Suggests No object is imported into the namespace of gRain. 12 9
microbenchmark Suggests No object is imported into the namespace of gRain. 2 1

Analysis was done with pkgndep.