Dependency analysis on package GetoptLong

General information

CRAN link link
Package version1.0.5
Number of strong dependencies6
Number of all dependencies57
Number of parent packages4
Max heaviness from parent packages2
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)8
Max co-heaviness from parent packages ("crayon" and "GlobalOptions")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods grDevices stats tools graphics xfun evaluate magrittr glue highr stringr yaml stringi digest jsonlite R6 rlang mime 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 30 Heaviness from parents rjson methods GlobalOptions crayon markdown knitr rmarkdown testthat In total 6 packages are required directly or indirectly (57) when installing 'GetoptLong' (1.0.5) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'GetoptLong' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on GetoptLong
crayon Imports The whole set of functions/methods/classes from parent package is imported to the namespace of GetoptLong. 3 2
rjson Imports 1 0 0 0 1
GlobalOptions Imports 1 0 0 2 1
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of GetoptLong. 0 0
testthat Suggests No object is imported into the namespace of GetoptLong. 36 33
rmarkdown Suggests No object is imported into the namespace of GetoptLong. 27 25
knitr Suggests No object is imported into the namespace of GetoptLong. 12 11
markdown Suggests No object is imported into the namespace of GetoptLong. 5 5

Analysis was done with pkgndep.