Dependency analysis on package tab

General information

CRAN link link
Package version5.1.1
Number of strong dependencies80
Number of all dependencies81
Number of parent packages6
Max heaviness from parent packages37
Total heaviness from parent packages53
Number of parent packages (including Suggests and Enhances)9
Max co-heaviness from parent packages ("kableExtra" and "dplyr")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests methods utils stats grDevices graphics tools grid splines glue magrittr evaluate highr stringr yaml xfun stringi R6 rlang lifecycle tibble vctrs pillar ellipsis fansi pkgconfig cli crayon utf8 Matrix lattice knitr htmltools digest bslib jquerylib jsonlite tinytex base64enc fastmap sass fs rappdirs generics tidyselect purrr survival minqa numDeriv mitools Rcpp DBI xml2 rvest rmarkdown scales viridisLite rstudioapi webshot svglite httr selectr farver labeling munsell RColorBrewer callr systemfonts cpp11 curl mime openssl colorspace processx askpass ps sys 0 2 4 6 8 Imported methods 0 20 40 60 Required packages 0 10 20 30 Heaviness from parents knitr dplyr stats MASS survey kableExtra gee survival rmarkdown In total 80 packages are required directly or indirectly (81) when installing 'tab' (5.1.1) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'tab' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on tab
dplyr Depends 1 0 0 20 4
knitr Depends 1 0 0 12 0
kableExtra Imports 1 0 0 63 37
survey Imports 9 0 0 15 11
MASS Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tab. 5 1
stats Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tab. 0 0
gee Suggests No object is imported into the namespace of tab. 1 1
survival Suggests No object is imported into the namespace of tab. 9 0
rmarkdown Suggests No object is imported into the namespace of tab. 27 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 tab Co-heaviness as Jaccard coeffcient
dplyr kableExtra 12 0.226

Analysis was done with pkgndep.