Dependency analysis on package Infusion

General information

CRAN link link
Package version1.5.1
Number of strong dependencies82
Number of all dependencies84
Number of parent packages9
Max heaviness from parent packages14
Total heaviness from parent packages17
Number of parent packages (including Suggests and Enhances)13
Max co-heaviness from parent packages ("blackbox" and "spaMM")32

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils stats methods grDevices graphics grid parallel tools splines Matrix lattice crayon cli digest ellipsis lifecycle magrittr R6 rlang withr glue fansi tibble pillar pkgconfig vctrs utf8 Rcpp RcppEigen MASS nlme brio callr desc evaluate jsonlite pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 codetools iterators proxy nloptr minqa pbapply gmp ROI boot geometry testthat registry slam magic lpSolve linprog RcppProgress abind viridisLite ggplot2 gridExtra gtable isoband mgcv scales farver labeling munsell RColorBrewer colorspace numDeriv rcdd spaMM foreach 0 5 10 15 Imported methods 0 20 40 60 Required packages 0 5 10 Heaviness from parents methods numDeriv pbapply proxy mvtnorm foreach viridis spaMM blackbox crayon ranger Rmixmod testthat In total 82 packages are required directly or indirectly (84) when installing 'Infusion' (1.5.1) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'Infusion' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on Infusion
viridis Imports 1 0 0 39 14
blackbox Imports 15 0 0 66 2
mvtnorm Imports 2 0 0 2 1
methods Imports 2 0 0 0 0
numDeriv Imports 3 0 0 0 0
pbapply Imports 4 0 0 1 0
proxy Imports 1 0 0 2 0
foreach Imports Parent package is listed in Imports of Infusion but no object from parent package is imported. 3 0
spaMM Imports 16 0 0 60 0
ranger Suggests No object is imported into the namespace of Infusion. 10 1
Rmixmod Suggests No object is imported into the namespace of Infusion. 10 1
crayon Suggests No object is imported into the namespace of Infusion. 3 0
testthat Suggests No object is imported into the namespace of Infusion. 36 0

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 Infusion Co-heaviness as Jaccard coeffcient
spaMM blackbox 32 0.941

Analysis was done with pkgndep.