Dependency analysis on package gh

General information

CRAN link link
Package version1.3.0
Number of strong dependencies15
Number of all dependencies70
Number of parent packages5
Max heaviness from parent packages8
Total heaviness from parent packages13
Number of parent packages (including Suggests and Enhances)13
Max co-heaviness from parent packages ("httr" and "jsonlite")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils tools stats grDevices graphics glue jsonlite R6 curl mime openssl askpass sys evaluate magrittr digest yaml highr stringr xfun stringi crayon withr rlang knitr brio callr cli desc ellipsis lifecycle pkgload praise processx ps waldo rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 commonmark xml2 hunspell Rcpp rex httr lazyeval bslib htmltools jquerylib tinytex sass base64enc fastmap fs rappdirs testthat 0 5 10 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents gitcreds ini jsonlite cli httr rprojroot withr knitr spelling covr rmarkdown testthat mockery In total 15 packages are required directly or indirectly (70) when installing 'gh' (1.3.0) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'gh' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on gh
httr Imports 12 0 0 9 8
cli Imports 2 0 0 3 3
gitcreds Imports Parent package is listed in Imports of gh but no object from parent package is imported. 0 1
ini Imports Parent package is listed in Imports of gh but no object from parent package is imported. 0 1
jsonlite Imports 3 0 0 1 0
mockery Suggests No object is imported into the namespace of gh. 37 31
testthat Suggests No object is imported into the namespace of gh. 36 30
rmarkdown Suggests No object is imported into the namespace of gh. 27 22
spelling Suggests No object is imported into the namespace of gh. 18 15
covr Suggests No object is imported into the namespace of gh. 20 10
knitr Suggests No object is imported into the namespace of gh. 12 9
withr Suggests No object is imported into the namespace of gh. 3 4
rprojroot Suggests No object is imported into the namespace of gh. 0 1

Analysis was done with pkgndep.