Dependency analysis on package demography

General information

CRAN link link
Package version1.22
Number of strong dependencies142
Number of all dependencies142
Number of parent packages7
Max heaviness from parent packages62
Total heaviness from parent packages66
Number of parent packages (including Suggests and Enhances)7
Max co-heaviness from parent packages ("ftsa" and "rainbow")17

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports graphics stats methods grDevices grid utils splines parallel tcltk stats4 tools lattice Matrix MASS nlme colorspace ggplot2 magrittr Rcpp zoo digest glue gtable isoband mgcv rlang scales tibble withr farver labeling lifecycle munsell R6 RColorBrewer viridisLite ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 fracdiff lmtest nnet timeDate tseries urca RcppArmadillo quadprog quantmod xts TTR curl bitops sandwich survival pcaPP KernSmooth hdrcde cluster ks mvtnorm pracma locfit ash FNN kernlab mclust multicool plot3D misc3d SparseM quantreg MatrixModels forecast rainbow sde fda pdfCluster ecp strucchange e1071 psych fGarch vars boot fdapace LaplacesDemon evgam ROOPSD fds deSolve geometry class proxy mnormt timeSeries fBasics fastICA Hmisc numDeriv RcppEigen Lmoments RCurl magic lpSolve linprog RcppProgress spatial gss stabledist Formula latticeExtra rpart foreign gridExtra data.table htmlTable viridis htmltools base64enc abind png jpeg stringr knitr checkmate htmlwidgets rstudioapi fastmap stringi evaluate highr yaml xfun backports jsonlite 0 0.5 1 Imported methods 0 50 100 Required packages 0 20 40 60 Heaviness from parents forecast RCurl strucchange mgcv cobs rainbow ftsa In total 142 packages are required directly or indirectly (142) when installing 'demography' (1.22) Depends Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'demography' 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 demography.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on demography
forecast Depends The whole set of functions/methods/classes from parent package is imported to the namespace of demography. 53 0
ftsa Imports The whole set of functions/methods/classes from parent package is imported to the namespace of demography. 137 62
cobs Imports The whole set of functions/methods/classes from parent package is imported to the namespace of demography. 14 4
RCurl Imports Parent package is listed in Imports of demography but no object from parent package is imported. 2 0
strucchange Imports Parent package is listed in Imports of demography but no object from parent package is imported. 8 0
mgcv Imports The whole set of functions/methods/classes from parent package is imported to the namespace of demography. 10 0
rainbow Imports The whole set of functions/methods/classes from parent package is imported to the namespace of demography. 55 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 demography Co-heaviness as Jaccard coeffcient
rainbow ftsa 17 0.215
forecast ftsa 14 0.184

Analysis was done with pkgndep.