Dependency analysis on package styler

General information

CRAN link link
Package version1.7.0
Number of strong dependencies28
Number of all dependencies69
Number of parent packages10
Max heaviness from parent packages5
Total heaviness from parent packages11
Number of parent packages (including Suggests and Enhances)20
Max co-heaviness from parent packages ("rematch2" and "tibble")9

Dependency heatmap

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

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on styler
R.cache Imports Parent package is listed in Imports of styler but no object from parent package is imported. 7 5
withr Imports Parent package is listed in Imports of styler but no object from parent package is imported. 3 3
rprojroot Imports Parent package is listed in Imports of styler but no object from parent package is imported. 0 1
purrr Imports 17 0 0 3 1
rematch2 Imports Parent package is listed in Imports of styler but no object from parent package is imported. 16 1
magrittr Imports 3 0 0 0 0
tools Imports Parent package is listed in Imports of styler but no object from parent package is imported. 0 0
rlang Imports 6 0 0 1 0
cli Imports Parent package is listed in Imports of styler but no object from parent package is imported. 3 0
tibble Imports The whole set of functions/methods/classes from parent package is imported to the namespace of styler. 15 0
rmarkdown Suggests No object is imported into the namespace of styler. 27 19
roxygen2 Suggests No object is imported into the namespace of styler. 30 16
testthat Suggests No object is imported into the namespace of styler. 36 14
knitr Suggests No object is imported into the namespace of styler. 12 7
dplyr Suggests No object is imported into the namespace of styler. 20 4
data.tree Suggests No object is imported into the namespace of styler. 6 3
rstudioapi Suggests No object is imported into the namespace of styler. 0 1
here Suggests No object is imported into the namespace of styler. 1 1
prettycode Suggests No object is imported into the namespace of styler. 4 1
digest Suggests No object is imported into the namespace of styler. 1 0

Analysis was done with pkgndep.