Dependency analysis on package qicharts

General information

CRAN link link
Package version0.5.8
Number of strong dependencies41
Number of all dependencies60
Number of parent packages7
Max heaviness from parent packages20
Total heaviness from parent packages23
Number of parent packages (including Suggests and Enhances)9
Max co-heaviness from parent packages ("ggplot2" and "scales")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests stats utils grDevices graphics methods grid splines tools glue RColorBrewer R6 rlang magrittr lattice farver labeling lifecycle munsell viridisLite colorspace digest png jpeg gtable isoband MASS mgcv scales tibble withr nlme Matrix ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 evaluate highr stringr yaml xfun stringi bslib htmltools jquerylib jsonlite knitr tinytex sass base64enc fastmap fs rappdirs 0 0.5 1 Imported methods 0 10 20 30 Required packages 0 5 10 15 20 Heaviness from parents graphics grDevices stats lattice latticeExtra scales ggplot2 knitr rmarkdown In total 41 packages are required directly or indirectly (60) when installing 'qicharts' (0.5.8) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'qicharts' Imported functions The whole namespace is imported Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on qicharts
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qicharts. 37 20
latticeExtra Imports 1 0 0 9 3
graphics Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qicharts. 0 0
grDevices Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qicharts. 0 0
stats Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qicharts. 0 0
lattice Imports The whole set of functions/methods/classes from parent package is imported to the namespace of qicharts. 5 0
scales Imports Parent package is listed in Imports of qicharts but no object from parent package is imported. 15 0
rmarkdown Suggests No object is imported into the namespace of qicharts. 27 19
knitr Suggests No object is imported into the namespace of qicharts. 12 8

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 qicharts Co-heaviness as Jaccard coeffcient
scales ggplot2 11 0.355

Analysis was done with pkgndep.