Dependency analysis on package withr

General information

CRAN link link
Package version2.5.0
Number of strong dependencies3
Number of all dependencies73
Number of parent packages3
Max heaviness from parent packages1
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)13

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices tools graphics grid R6 glue yaml evaluate magrittr rlang digest jsonlite processx ps highr stringr xfun stringi fastmap pkgconfig vctrs cli crayon withr bit64 blob DBI memoise Rcpp plogr bit cachem rex httr lazyeval curl mime openssl askpass sys bslib htmltools jquerylib knitr tinytex sass base64enc fs rappdirs brio callr desc ellipsis lifecycle pkgload praise waldo rprojroot rstudioapi diffobj fansi rematch2 tibble pillar utf8 0 0.5 1 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents graphics grDevices stats methods DBI rlang callr lattice knitr RSQLite covr rmarkdown testthat In total 3 packages are required directly or indirectly (73) when installing 'withr' (2.5.0) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'withr' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on withr
graphics Imports Parent package is listed in Imports of withr but no object from parent package is imported. 0 1
grDevices Imports Parent package is listed in Imports of withr but no object from parent package is imported. 0 1
stats Imports 1 0 0 0 1
testthat Suggests No object is imported into the namespace of withr. 36 34
rmarkdown Suggests No object is imported into the namespace of withr. 27 26
covr Suggests No object is imported into the namespace of withr. 20 18
RSQLite Suggests No object is imported into the namespace of withr. 17 17
knitr Suggests No object is imported into the namespace of withr. 12 12
callr Suggests No object is imported into the namespace of withr. 4 5
lattice Suggests No object is imported into the namespace of withr. 5 3
DBI Suggests No object is imported into the namespace of withr. 1 2
rlang Suggests No object is imported into the namespace of withr. 1 2
methods Suggests No object is imported into the namespace of withr. 0 1

Analysis was done with pkgndep.