Dependency analysis on package crayon

General information

CRAN link link
Package version1.5.1
Number of strong dependencies3
Number of all dependencies38
Number of parent packages3
Max heaviness from parent packages1
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)7

Dependency heatmap

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

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


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on crayon
grDevices Imports 4 0 0 0 1
methods Imports 1 0 0 0 1
utils Imports 5 0 0 0 1
mockery Suggests No object is imported into the namespace of crayon. 37 35
testthat Suggests No object is imported into the namespace of crayon. 36 34
withr Suggests No object is imported into the namespace of crayon. 3 3
rstudioapi Suggests No object is imported into the namespace of crayon. 0 1

Analysis was done with pkgndep.