Dependency analysis on package testthat

General information

CRAN link link
Package version3.1.4
Number of strong dependencies36
Number of all dependencies86
Number of parent packages21
Max heaviness from parent packages10
Total heaviness from parent packages18
Number of parent packages (including Suggests and Enhances)32
Max co-heaviness from parent packages ("pkgload" and "withr")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods grDevices stats tools graphics glue rlang R6 cli crayon magrittr withr rprojroot lifecycle ps desc rstudioapi ellipsis processx diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 jsonlite digest yaml htmltools base64enc fastmap evaluate mime fs rappdirs highr stringr xfun stringi httr curl openssl askpass sys bslib jquerylib sass htmlwidgets rex lazyeval knitr tinytex httpuv xtable fontawesome sourcetools later promises commonmark cachem Rcpp clipr gert gh purrr whisker credentials zip gitcreds ini testthat brio callr pkgload praise waldo 0 1 2 Imported methods 0 10 20 30 Required packages 0 5 10 15 Heaviness from parents brio magrittr methods praise R6 utils digest evaluate jsonlite ps rlang ellipsis cli crayon processx withr callr lifecycle desc pkgload waldo curl rstudioapi xml2 vctrs diffviewer knitr covr rmarkdown shiny usethis mockery In total 36 packages are required directly or indirectly (86) when installing 'testthat' (3.1.4) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'testthat' Imported functions 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 testthat.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on testthat
waldo Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 20 10
pkgload Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 14 2
brio Imports 2 0 0 0 1
praise Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 0 1
digest Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 1 1
evaluate Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 1 1
jsonlite Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 1 1
callr Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 4 1
magrittr Imports 1 0 0 0 0
methods Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 0 0
R6 Imports 1 0 0 0 0
utils Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 0 0
ps Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 1 0
rlang Imports The whole set of functions/methods/classes from parent package is imported to the namespace of testthat. 1 0
ellipsis Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 2 0
cli Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 3 0
crayon Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 3 0
processx Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 3 0
withr Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 3 0
lifecycle Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 4 0
desc Imports Parent package is listed in Imports of testthat but no object from parent package is imported. 6 0
shiny Suggests No object is imported into the namespace of testthat. 34 19
usethis Suggests No object is imported into the namespace of testthat. 36 19
rmarkdown Suggests No object is imported into the namespace of testthat. 27 16
covr Suggests No object is imported into the namespace of testthat. 20 10
diffviewer Suggests No object is imported into the namespace of testthat. 11 6
knitr Suggests No object is imported into the namespace of testthat. 12 6
mockery Suggests No object is imported into the namespace of testthat. 37 2
curl Suggests No object is imported into the namespace of testthat. 0 1
xml2 Suggests No object is imported into the namespace of testthat. 1 1
rstudioapi Suggests No object is imported into the namespace of testthat. 0 0
vctrs Suggests No object is imported into the namespace of testthat. 5 0

Analysis was done with pkgndep.