Dependency analysis on package cobalt

General information

CRAN link link
Package version4.3.2
Number of strong dependencies40
Number of all dependencies118
Number of parent packages7
Max heaviness from parent packages30
Total heaviness from parent packages32
Number of parent packages (including Suggests and Enhances)22
Max co-heaviness from parent packages ("ggplot2" and "crayon")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods grDevices stats graphics grid splines tools tcltk parallel MASS lattice glue magrittr rlang R6 gtable digest tibble nlme Matrix lifecycle ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 isoband mgcv scales withr farver labeling munsell RColorBrewer viridisLite colorspace Rcpp backports ggplot2 RcppProgress stringr stringi MatchIt survival numDeriv dplyr generics purrr tidyselect evaluate highr yaml xfun jsonlite cobalt gridExtra broom tidyr cpp11 survey minqa mitools DBI rlemon slam Rglpk combinat randomForest nnet glmnet foreach shape RcppEigen codetools iterators bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs dfidx Formula zoo lmtest statmod Rdpack rbibutils osqp gbm xtable latticeExtra MatrixModels data.table xgboost png jpeg mice WeightIt 0 2 4 6 Imported methods 0 20 40 60 Required packages 0 10 20 30 Heaviness from parents grid backports gtable rlang crayon gridExtra ggplot2 ebal MatchIt Matching optmatch designmatch knitr cem CBPS rmarkdown mlogit optweight WeightIt mice twang MatchThem In total 40 packages are required directly or indirectly (118) when installing 'cobalt' (4.3.2) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'cobalt' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on cobalt
ggplot2 Imports 6 0 0 37 30
backports Imports Parent package is listed in Imports of cobalt but no object from parent package is imported. 0 1
gridExtra Imports Parent package is listed in Imports of cobalt but no object from parent package is imported. 5 1
grid Imports Parent package is listed in Imports of cobalt but no object from parent package is imported. 0 0
gtable Imports Parent package is listed in Imports of cobalt but no object from parent package is imported. 1 0
rlang Imports 3 0 0 1 0
crayon Imports 2 0 0 3 0
MatchThem Suggests No object is imported into the namespace of cobalt. 62 23
rmarkdown Suggests No object is imported into the namespace of cobalt. 27 19
twang Suggests No object is imported into the namespace of cobalt. 55 18
CBPS Suggests No object is imported into the namespace of cobalt. 23 13
mlogit Suggests No object is imported into the namespace of cobalt. 34 13
mice Suggests No object is imported into the namespace of cobalt. 50 12
knitr Suggests No object is imported into the namespace of cobalt. 12 8
cem Suggests No object is imported into the namespace of cobalt. 15 7
MatchIt Suggests No object is imported into the namespace of cobalt. 5 3
optmatch Suggests No object is imported into the namespace of cobalt. 6 3
designmatch Suggests No object is imported into the namespace of cobalt. 10 3
optweight Suggests No object is imported into the namespace of cobalt. 40 3
WeightIt Suggests No object is imported into the namespace of cobalt. 41 2
ebal Suggests No object is imported into the namespace of cobalt. 0 1
Matching Suggests No object is imported into the namespace of cobalt. 6 1

Analysis was done with pkgndep.