Dependency analysis on package reprex

General information

CRAN link link
Package version2.0.1
Number of strong dependencies36
Number of all dependencies86
Number of parent packages11
Max heaviness from parent packages11
Total heaviness from parent packages19
Number of parent packages (including Suggests and Enhances)21
Max co-heaviness from parent packages ("rmarkdown" and "knitr")9

Dependency heatmap

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

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on reprex
rmarkdown Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 27 11
callr Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 4 3
withr Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 3 2
rstudioapi Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 0 1
clipr Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 1 1
cli Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 3 1
utils Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 0 0
fs Imports The whole set of functions/methods/classes from parent package is imported to the namespace of reprex. 1 0
glue Imports Parent package is listed in Imports of reprex 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 reprex. 1 0
knitr Imports Parent package is listed in Imports of reprex but no object from parent package is imported. 12 0
testthat Suggests No object is imported into the namespace of reprex. 36 18
styler Suggests No object is imported into the namespace of reprex. 28 17
miniUI Suggests No object is imported into the namespace of reprex. 35 15
shiny Suggests No object is imported into the namespace of reprex. 34 14
covr Suggests No object is imported into the namespace of reprex. 20 10
spelling Suggests No object is imported into the namespace of reprex. 18 5
rprojroot Suggests No object is imported into the namespace of reprex. 0 1
fortunes Suggests No object is imported into the namespace of reprex. 1 1
sessioninfo Suggests No object is imported into the namespace of reprex. 5 1
mockr Suggests No object is imported into the namespace of reprex. 6 1

Analysis was done with pkgndep.