Dependency analysis on package thief

General information

CRAN link link
Package version0.3
Number of strong dependencies57
Number of all dependencies57
Number of parent packages3
Max heaviness from parent packages3
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)3
Max co-heaviness from parent packages ("hts" and "forecast")16

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports graphics stats methods grDevices grid utils splines parallel colorspace magrittr digest glue gtable isoband MASS mgcv rlang scales tibble withr nlme lattice Matrix farver labeling lifecycle munsell R6 RColorBrewer viridisLite ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 fracdiff ggplot2 lmtest nnet Rcpp timeDate tseries urca zoo RcppArmadillo quadprog quantmod xts TTR curl forecast SparseM RcppEigen 0 0.5 1 Imported methods 0 20 40 Required packages 0 1 2 3 Heaviness from parents forecast ggplot2 hts In total 57 packages are required directly or indirectly (57) when installing 'thief' (0.3) Depends Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'thief' 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 thief.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on thief
forecast Depends The whole set of functions/methods/classes from parent package is imported to the namespace of thief. 53 0
hts Imports Parent package is listed in Imports of thief but no object from parent package is imported. 56 3
ggplot2 Imports 1 0 0 37 0

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 thief Co-heaviness as Jaccard coeffcient
forecast hts 16 0.842

Analysis was done with pkgndep.