Dependency analysis on package prettycode

General information

CRAN link link
Package version1.1.0
Number of strong dependencies4
Number of all dependencies48
Number of parent packages2
Max heaviness from parent packages3
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)7
Max co-heaviness from parent packages ("crayon" and "utils")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests grDevices methods utils stats graphics tools digest jsonlite crayon withr R6 brio callr cli desc ellipsis evaluate lifecycle magrittr pkgload praise processx ps rlang waldo glue rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 rex httr yaml lazyeval curl mime openssl askpass sys testthat 0 5 10 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents utils crayon rstudioapi withr covr testthat mockery In total 4 packages are required directly or indirectly (48) when installing 'prettycode' (1.1.0) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'prettycode' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on prettycode
crayon Imports 11 0 0 3 3
utils Imports 3 0 0 0 0
mockery Suggests No object is imported into the namespace of prettycode. 37 34
testthat Suggests No object is imported into the namespace of prettycode. 36 33
covr Suggests No object is imported into the namespace of prettycode. 20 17
withr Suggests No object is imported into the namespace of prettycode. 3 3
rstudioapi Suggests No object is imported into the namespace of prettycode. 0 1

Analysis was done with pkgndep.