Dependency analysis on package optweight

General information

CRAN link link
Package version0.2.5
Number of strong dependencies40
Number of all dependencies60
Number of parent packages3
Max heaviness from parent packages29
Total heaviness from parent packages31
Number of parent packages (including Suggests and Enhances)5
Max co-heaviness from parent packages ("ggplot2" and "osqp")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils graphics grid stats grDevices splines parallel lattice Matrix R6 digest glue gtable isoband MASS mgcv rlang scales tibble withr nlme farver labeling lifecycle munsell RColorBrewer viridisLite ellipsis fansi magrittr pillar pkgconfig vctrs colorspace cli crayon utf8 Rcpp ggplot2 gridExtra backports gbm survey xtable latticeExtra MatrixModels data.table xgboost survival minqa numDeriv mitools png jpeg jsonlite DBI 0 0.5 1 Imported methods 0 20 40 Required packages 0 10 20 30 Heaviness from parents Matrix osqp ggplot2 cobalt twang In total 40 packages are required directly or indirectly (60) when installing 'optweight' (0.2.5) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'optweight' The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on optweight
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of optweight. 37 29
osqp Imports The whole set of functions/methods/classes from parent package is imported to the namespace of optweight. 10 2
Matrix Imports The whole set of functions/methods/classes from parent package is imported to the namespace of optweight. 7 0
twang Suggests No object is imported into the namespace of optweight. 55 17
cobalt Suggests No object is imported into the namespace of optweight. 40 3

Analysis was done with pkgndep.