Dependency analysis on package sparkline

General information

CRAN link link
Package version2.0
Number of strong dependencies11
Number of all dependencies46
Number of parent packages2
Max heaviness from parent packages4
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)6
Max co-heaviness from parent packages ("htmlwidgets" and "htmltools")7

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils grDevices methods tools stats graphics digest base64enc rlang fastmap htmltools jsonlite yaml glue magrittr evaluate highr stringr xfun stringi bslib jquerylib sass fs R6 rappdirs knitr tinytex htmlwidgets rmarkdown httpuv mime xtable fontawesome sourcetools later promises crayon withr commonmark cachem ellipsis lifecycle Rcpp 0 0.5 1 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents htmltools htmlwidgets knitr rmarkdown formattable shiny In total 11 packages are required directly or indirectly (46) when installing 'sparkline' (2.0) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'sparkline' The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on sparkline
htmlwidgets Imports The whole set of functions/methods/classes from parent package is imported to the namespace of sparkline. 10 4
htmltools Imports The whole set of functions/methods/classes from parent package is imported to the namespace of sparkline. 6 0
shiny Suggests No object is imported into the namespace of sparkline. 34 26
formattable Suggests No object is imported into the namespace of sparkline. 29 19
rmarkdown Suggests No object is imported into the namespace of sparkline. 27 18
knitr Suggests No object is imported into the namespace of sparkline. 12 10

Analysis was done with pkgndep.