Dependency analysis on package gap

General information

CRAN link link
Package version1.2.3-6
Number of strong dependencies65
Number of all dependencies189
Number of parent packages4
Max heaviness from parent packages22
Total heaviness from parent packages23
Number of parent packages (including Suggests and Enhances)40
Max co-heaviness from parent packages ("plotly" and "ggplot2")21

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests Enhances utils methods stats grDevices graphics grid tools splines parallel compiler lattice Matrix magrittr glue rlang digest R6 nlme lifecycle ellipsis crayon MASS tibble vctrs pillar fansi pkgconfig cli utf8 withr jsonlite Rcpp colorspace base64enc htmltools fastmap yaml gtable isoband mgcv scales farver labeling munsell RColorBrewer viridisLite ggplot2 htmlwidgets data.table generics tidyselect purrr promises mime later httr tidyr dplyr lazyeval crosstalk curl openssl cpp11 askpass sys evaluate rstudioapi mvtnorm survival highr stringr xfun stringi boot checkmate backports knitr codetools lme4 minqa nloptr RcppEigen testthat brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 abind plyr gtools coda metadat mathjaxr pbapply bslib jquerylib sass fs rappdirs Hmisc SparseM quantreg rpart polspline multcomp htmlTable cluster Formula latticeExtra nnet foreign gridExtra viridis MatrixModels TH.data sandwich png jpeg zoo GlobalOptions shape quadprog combinat gdata bdsmatrix HaploSim reshape rjags R2WinBUGS ape corpcor tensorA cubature tinytex timereg lava numDeriv RcppArmadillo future.apply progressr SQUAREM future globals listenv parallelly brglm qvcalc profileModel metafor CompQuadForm xml2 arsenal rms httpuv xtable fontawesome sourcetools commonmark cachem 0 0.5 1 Imported methods 0 20 40 60 80 Required packages 0 10 20 30 Heaviness from parents gap.datasets dplyr ggplot2 plotly grid matrixStats bdsmatrix jsonlite foreign magic rmeta plotrix reshape MASS forestplot lattice calibrate coda nlme Matrix circlize kinship2 survival genetics htmlwidgets coxme knitr pedigree R2jags metafor MCMCglmm rmarkdown mets cowplot pedigreemm BradleyTerry2 meta rms haplo.stats shiny In total 65 packages are required directly or indirectly (189) when installing 'gap' (1.2.3-6) Depends Imports Suggests Enhances Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'gap' 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 gap.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on gap
gap.datasets Depends The whole set of functions/methods/classes from parent package is imported to the namespace of gap. 0 1
plotly Imports Parent package is listed in Imports of gap but no object from parent package is imported. 63 22
dplyr Imports The whole set of functions/methods/classes from parent package is imported to the namespace of gap. 20 0
ggplot2 Imports Parent package is listed in Imports of gap but no object from parent package is imported. 37 0
haplo.stats Suggests No object is imported into the namespace of gap. 80 35
rms Suggests No object is imported into the namespace of gap. 78 33
meta Suggests No object is imported into the namespace of gap. 56 27
BradleyTerry2 Suggests No object is imported into the namespace of gap. 54 25
pedigreemm Suggests No object is imported into the namespace of gap. 50 21
mets Suggests No object is imported into the namespace of gap. 28 17
rmarkdown Suggests No object is imported into the namespace of gap. 27 13
R2jags Suggests No object is imported into the namespace of gap. 13 7
MCMCglmm Suggests No object is imported into the namespace of gap. 17 7
knitr Suggests No object is imported into the namespace of gap. 12 6
genetics Suggests No object is imported into the namespace of gap. 10 5
metafor Suggests No object is imported into the namespace of gap. 14 5
pedigree Suggests No object is imported into the namespace of gap. 12 4
forestplot Suggests No object is imported into the namespace of gap. 5 3
circlize Suggests No object is imported into the namespace of gap. 9 3
coxme Suggests No object is imported into the namespace of gap. 12 3
magic Suggests No object is imported into the namespace of gap. 3 2
reshape Suggests No object is imported into the namespace of gap. 4 2
kinship2 Suggests No object is imported into the namespace of gap. 9 2
matrixStats Suggests No object is imported into the namespace of gap. 0 1
bdsmatrix Suggests No object is imported into the namespace of gap. 1 1
foreign Suggests No object is imported into the namespace of gap. 3 1
rmeta Suggests No object is imported into the namespace of gap. 3 1
plotrix Suggests No object is imported into the namespace of gap. 4 1
calibrate Suggests No object is imported into the namespace of gap. 6 1
coda Suggests No object is imported into the namespace of gap. 6 1
survival Suggests No object is imported into the namespace of gap. 9 1
cowplot Suggests No object is imported into the namespace of gap. 38 1
grid Suggests No object is imported into the namespace of gap. 0 0
jsonlite Suggests No object is imported into the namespace of gap. 1 0
MASS Suggests No object is imported into the namespace of gap. 5 0
lattice Suggests No object is imported into the namespace of gap. 5 0
nlme Suggests No object is imported into the namespace of gap. 6 0
Matrix Suggests No object is imported into the namespace of gap. 7 0
htmlwidgets Suggests No object is imported into the namespace of gap. 10 0
shiny Enhances No object is imported into the namespace of gap. 34 12

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 gap Co-heaviness as Jaccard coeffcient
ggplot2 plotly 21 0.488

Analysis was done with pkgndep.