Dependency analysis on package MatchThem

General information

CRAN link link
Package version1.0.1
Number of strong dependencies62
Number of all dependencies70
Number of parent packages5
Max heaviness from parent packages11
Total heaviness from parent packages22
Number of parent packages (including Suggests and Enhances)8
Max co-heaviness from parent packages ("mice" and "WeightIt")28

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats graphics grDevices grid splines tools backports Rcpp lattice Matrix digest rlang withr ellipsis glue tibble ggplot2 lifecycle magrittr R6 vctrs pillar fansi pkgconfig gtable isoband MASS mgcv scales cli crayon utf8 nlme farver labeling munsell RColorBrewer viridisLite colorspace gridExtra RcppProgress survival minqa numDeriv mitools DBI cobalt broom dplyr generics tidyr cpp11 purrr stringr tidyselect stringi foreign RcppArmadillo R.methodsS3 R.oo R.utils R.cache 0 2 4 Imported methods 0 20 40 Required packages 0 5 10 Heaviness from parents rlang MatchIt survey WeightIt mice Amelia R.rsp cobalt In total 62 packages are required directly or indirectly (70) when installing 'MatchThem' (1.0.1) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'MatchThem' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on MatchThem
mice Imports 5 0 0 50 11
survey Imports 1 0 0 15 6
WeightIt Imports 2 0 0 41 3
MatchIt Imports 2 0 0 5 2
rlang Imports 1 0 0 1 0
R.rsp Suggests No object is imported into the namespace of MatchThem. 9 5
Amelia Suggests No object is imported into the namespace of MatchThem. 8 3
cobalt Suggests No object is imported into the namespace of MatchThem. 40 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 MatchThem Co-heaviness as Jaccard coeffcient
WeightIt mice 28 0.667

Analysis was done with pkgndep.