Dependency analysis on package bigstatsr

General information

CRAN link link
Package version1.5.6
Number of strong dependencies58
Number of all dependencies108
Number of parent packages15
Max heaviness from parent packages7
Total heaviness from parent packages15
Number of parent packages (including Suggests and Enhances)28
Max co-heaviness from parent packages ("cowplot" and "ggplot2")17

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports LinkingTo Suggests utils methods grDevices stats graphics grid tools splines parallel Rcpp glue magrittr crayon lattice rlang lifecycle ellipsis fansi pillar pkgconfig vctrs cli utf8 digest R6 Matrix tibble withr codetools iterators bigassertr MASS RcppEigen foreach parallelly gtable scales isoband mgcv farver labeling munsell RColorBrewer viridisLite nlme colorspace doParallel flock RhpcBLASctl ggplot2 ff bit data.table yaml evaluate jsonlite bigmemory.sri uuid BH shape survival commonmark xml2 hunspell knitr highr stringr xfun stringi rex httr lazyeval curl mime openssl askpass sys generics tidyselect purrr brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 5 10 15 Imported methods 0 10 20 30 Required packages 0 5 10 Heaviness from parents bigassertr graphics methods stats utils ps Rcpp foreach RSpectra bigparallelr tibble ggplot2 cowplot RcppArmadillo rmio RhpcBLASctl data.table memuse ModelMetrics bigmemory ppcor hexbin bigreadr glmnet spelling covr dplyr testthat In total 58 packages are required directly or indirectly (108) when installing 'bigstatsr' (1.5.6) Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'bigstatsr' 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 bigstatsr.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on bigstatsr
bigparallelr Imports 9 0 0 13 7
RSpectra Imports Parent package is listed in Imports of bigstatsr but no object from parent package is imported. 10 2
ps Imports Parent package is listed in Imports of bigstatsr but no object from parent package is imported. 1 1
cowplot Imports 1 0 0 38 1
bigassertr Imports 18 0 0 0 0
graphics Imports 1 0 0 0 0
methods Imports 1 0 0 0 0
stats Imports 1 0 0 0 0
utils Imports Parent package is listed in Imports of bigstatsr but no object from parent package is imported. 0 0
Rcpp Imports 1 0 0 2 0
foreach Imports The whole set of functions/methods/classes from parent package is imported to the namespace of bigstatsr. 3 0
tibble Imports 1 0 0 15 0
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of bigstatsr. 37 0
rmio LinkingTo Parent package is listed in LinkingTo of bigstatsr but no object from parent package is imported. 4 3
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of bigstatsr but no object from parent package is imported. 4 1
testthat Suggests No object is imported into the namespace of bigstatsr. 36 14
spelling Suggests No object is imported into the namespace of bigstatsr. 18 11
covr Suggests No object is imported into the namespace of bigstatsr. 20 11
bigmemory Suggests No object is imported into the namespace of bigstatsr. 6 4
dplyr Suggests No object is imported into the namespace of bigstatsr. 20 4
glmnet Suggests No object is imported into the namespace of bigstatsr. 16 3
ModelMetrics Suggests No object is imported into the namespace of bigstatsr. 4 2
bigreadr Suggests No object is imported into the namespace of bigstatsr. 8 2
data.table Suggests No object is imported into the namespace of bigstatsr. 1 1
memuse Suggests No object is imported into the namespace of bigstatsr. 2 1
ppcor Suggests No object is imported into the namespace of bigstatsr. 6 1
hexbin Suggests No object is imported into the namespace of bigstatsr. 7 1
RhpcBLASctl Suggests No object is imported into the namespace of bigstatsr. 0 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 bigstatsr Co-heaviness as Jaccard coeffcient
ggplot2 cowplot 17 0.944

Analysis was done with pkgndep.