Dependency analysis on package usethis

General information

CRAN link link
Package version2.1.6
Number of strong dependencies36
Number of all dependencies86
Number of parent packages21
Max heaviness from parent packages6
Total heaviness from parent packages21
Number of parent packages (including Suggests and Enhances)31
Max co-heaviness from parent packages ("gh" and "gert")3

Dependency heatmap

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

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on usethis
gh Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 15 6
gert Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 9 3
purrr Imports 4 0 0 3 2
withr Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 3 2
rappdirs Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 1
whisker Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 1
yaml Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 1
clipr Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 1 1
fs Imports The whole set of functions/methods/classes from parent package is imported to the namespace of usethis. 1 1
crayon Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 3 1
lifecycle Imports 1 0 0 4 1
desc Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 6 1
curl Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 0
rprojroot Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 0
rstudioapi Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 0
stats Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 0
utils Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 0 0
glue Imports 3 0 0 1 0
jsonlite Imports Parent package is listed in Imports of usethis 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 usethis. 1 0
cli Imports Parent package is listed in Imports of usethis but no object from parent package is imported. 3 0
testthat Suggests No object is imported into the namespace of usethis. 36 19
rmarkdown Suggests No object is imported into the namespace of usethis. 27 15
styler Suggests No object is imported into the namespace of usethis. 28 14
roxygen2 Suggests No object is imported into the namespace of usethis. 30 13
spelling Suggests No object is imported into the namespace of usethis. 18 12
knitr Suggests No object is imported into the namespace of usethis. 12 6
covr Suggests No object is imported into the namespace of usethis. 20 4
magick Suggests No object is imported into the namespace of usethis. 5 2
mockr Suggests No object is imported into the namespace of usethis. 6 1
pkgload Suggests No object is imported into the namespace of usethis. 14 1

Analysis was done with pkgndep.