Dependency analysis on package rchallenge

General information

CRAN link link
Package version1.3.4
Number of strong dependencies28
Number of all dependencies53
Number of parent packages2
Max heaviness from parent packages15
Total heaviness from parent packages15
Number of parent packages (including Suggests and Enhances)3
Max co-heaviness from parent packages ("rmarkdown" and "knitr")13

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods tools utils stats grDevices graphics evaluate glue magrittr stringr xfun yaml highr stringi jsonlite rlang digest R6 bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr cli crayon desc ellipsis lifecycle pkgload praise processx ps waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 0 0.5 1 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents knitr rmarkdown testthat In total 28 packages are required directly or indirectly (53) when installing 'rchallenge' (1.3.4) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'rchallenge' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on rchallenge
rmarkdown Imports 1 0 0 27 15
knitr Imports 1 0 0 12 0
testthat Suggests No object is imported into the namespace of rchallenge. 36 25

The following table lists pairs of parent packages with co-heaviness larger than 10. The co-heaviness measures the number of additional dependencies that two parent packages simultaneously import and are only imported by the two parents.

Note the co-heaviness from parents can be always easily observed in the dependency heatmap.

Parent 1 Parent 2 Co-heaviness on rchallenge Co-heaviness as Jaccard coeffcient
knitr rmarkdown 13 0.464

Analysis was done with pkgndep.