Dependency analysis on package hdi

General information

CRAN link link
Package version0.1-9
Number of strong dependencies23
Number of all dependencies23
Number of parent packages8
Max heaviness from parent packages12
Total heaviness from parent packages18
Number of parent packages (including Suggests and Enhances)9
Max co-heaviness from parent packages ("glmnet" and "MASS")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests grDevices graphics stats utils methods grid splines lattice lars lpSolve Matrix foreach shape survival Rcpp RcppEigen codetools iterators 0 10 20 Imported methods 0 5 10 15 Required packages 0 5 10 Heaviness from parents scalreg grDevices graphics stats parallel linprog MASS glmnet Matrix In total 23 packages are required directly or indirectly (23) when installing 'hdi' (0.1-9) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'hdi' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on hdi
scalreg Depends 1 0 0 1 2
glmnet Imports 2 0 0 16 12
linprog Imports 1 0 0 1 2
parallel Imports 2 0 0 0 1
MASS Imports 1 0 0 5 1
grDevices Imports 1 0 0 0 0
graphics Imports 4 0 0 0 0
stats Imports 26 0 0 0 0
Matrix Suggests No object is imported into the namespace of hdi. 7 0

Analysis was done with pkgndep.