Dependency analysis on package attachment

General information

CRAN link link
Package version0.2.5
Number of strong dependencies42
Number of all dependencies60
Number of parent packages11
Max heaviness from parent packages11
Total heaviness from parent packages20
Number of parent packages (including Suggests and Enhances)15
Max co-heaviness from parent packages ("roxygen2" and "withr")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils stats tools grDevices graphics glue magrittr R6 stringi evaluate rlang cli rprojroot highr stringr yaml xfun digest jsonlite knitr desc pkgload withr crayon rstudioapi bslib htmltools jquerylib tinytex sass base64enc fastmap fs rappdirs brew commonmark purrr xml2 cpp11 brio callr ellipsis lifecycle praise processx ps waldo diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 0 2 4 Imported methods 0 10 20 30 Required packages 0 5 10 15 Heaviness from parents magrittr stats utils glue cli withr desc stringr knitr rmarkdown roxygen2 rstudioapi renv lifecycle testthat In total 42 packages are required directly or indirectly (60) when installing 'attachment' (0.2.5) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'attachment' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

"Import" information is from the NAMESPACE file of attachment.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on attachment
rmarkdown Imports Parent package is listed in Imports of attachment but no object from parent package is imported. 27 11
roxygen2 Imports 1 0 0 30 9
magrittr Imports 1 0 0 0 0
stats Imports 2 0 0 0 0
utils Imports 3 0 0 0 0
glue Imports 2 0 0 1 0
cli Imports 1 0 0 3 0
withr Imports Parent package is listed in Imports of attachment but no object from parent package is imported. 3 0
desc Imports 1 0 0 6 0
stringr Imports 5 0 0 7 0
knitr Imports 1 0 0 12 0
testthat Suggests No object is imported into the namespace of attachment. 36 17
renv Suggests No object is imported into the namespace of attachment. 1 1
lifecycle Suggests No object is imported into the namespace of attachment. 4 1
rstudioapi Suggests No object is imported into the namespace of attachment. 0 0

Analysis was done with pkgndep.