Dependency analysis on package glmnet

General information

CRAN link link
Package version4.1-4
Number of strong dependencies16
Number of all dependencies65
Number of parent packages8
Max heaviness from parent packages3
Total heaviness from parent packages7
Number of parent packages (including Suggests and Enhances)13
Max co-heaviness from parent packages ("RcppEigen" and "Rcpp")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports LinkingTo Suggests stats utils methods grDevices graphics grid splines tools lattice Matrix codetools iterators Rcpp evaluate glue magrittr highr stringr yaml xfun stringi digest jsonlite R6 rlang bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr cli crayon desc ellipsis lifecycle pkgload praise processx ps waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 0 2 4 6 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents Matrix methods utils Rcpp foreach shape survival RcppEigen lars xfun knitr rmarkdown testthat In total 16 packages are required directly or indirectly (65) when installing 'glmnet' (4.1-4) 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 'glmnet' 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 glmnet.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on glmnet
Matrix Depends 1 0 0 7 0
foreach Imports The whole set of functions/methods/classes from parent package is imported to the namespace of glmnet. 3 3
survival Imports 6 0 0 9 2
shape Imports 1 0 0 3 1
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of glmnet. 0 0
utils Imports 1 0 0 0 0
Rcpp Imports 1 0 0 2 0
RcppEigen LinkingTo Parent package is listed in LinkingTo of glmnet but no object from parent package is imported. 9 1
testthat Suggests No object is imported into the namespace of glmnet. 36 32
rmarkdown Suggests No object is imported into the namespace of glmnet. 27 24
knitr Suggests No object is imported into the namespace of glmnet. 12 10
xfun Suggests No object is imported into the namespace of glmnet. 2 2
lars Suggests No object is imported into the namespace of glmnet. 0 1

Analysis was done with pkgndep.