Dependency analysis on package roxygen2

General information

CRAN link link
Package version7.2.0
Number of strong dependencies30
Number of all dependencies69
Number of parent packages17
Max heaviness from parent packages5
Total heaviness from parent packages14
Number of parent packages (including Suggests and Enhances)22
Max co-heaviness from parent packages ("pkgload" and "withr")3

Dependency heatmap

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

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on roxygen2
knitr Imports 2 0 0 12 5
pkgload Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 14 3
brew Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 0 1
commonmark Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 0 1
digest Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 1 1
xml2 Imports 8 0 0 1 1
purrr Imports 6 0 0 3 1
methods Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 0 0
R6 Imports 1 0 0 0 0
utils Imports 4 0 0 0 0
rlang Imports The whole set of functions/methods/classes from parent package is imported to the namespace of roxygen2. 1 0
cli Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 3 0
stringi Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 3 0
withr Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 3 0
desc Imports Parent package is listed in Imports of roxygen2 but no object from parent package is imported. 6 0
stringr Imports The whole set of functions/methods/classes from parent package is imported to the namespace of roxygen2. 7 0
cpp11 LinkingTo Parent package is listed in LinkingTo of roxygen2 but no object from parent package is imported. 0 1
testthat Suggests No object is imported into the namespace of roxygen2. 36 18
rmarkdown Suggests No object is imported into the namespace of roxygen2. 27 11
covr Suggests No object is imported into the namespace of roxygen2. 20 10
R.oo Suggests No object is imported into the namespace of roxygen2. 3 2
R.methodsS3 Suggests No object is imported into the namespace of roxygen2. 1 1

Analysis was done with pkgndep.