Dependency analysis on package Publish

General information

CRAN link link
Package version2020.12.23
Number of strong dependencies33
Number of all dependencies123
Number of parent packages5
Max heaviness from parent packages6
Total heaviness from parent packages10
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("lava" and "prodlim")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats methods grDevices graphics utils grid splines tools parallel stats4 compiler lattice Matrix survival digest codetools MASS future.apply progressr numDeriv SQUAREM future globals listenv parallelly mvtnorm TH.data sandwich zoo Rcpp KernSmooth lava rlang checkmate backports glue tibble withr lifecycle R6 ellipsis fansi magrittr pillar pkgconfig vctrs rstudioapi cli crayon utf8 evaluate jsonlite data.table ggplot2 gtable isoband mgcv scales multcomp Hmisc SparseM quantreg rpart nlme polspline htmlTable htmltools cluster farver labeling munsell RColorBrewer viridisLite Formula latticeExtra nnet foreign gridExtra viridis base64enc MatrixModels stringr knitr htmlwidgets fastmap colorspace png jpeg stringi highr yaml xfun DBI VGAM abind brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 cmprsk doParallel foreach mets plotrix prodlim Publish ranger rms timereg RcppArmadillo iterators RcppEigen 0 5 10 Imported methods 0 50 100 Required packages 0 20 40 60 Heaviness from parents prodlim data.table survival multcomp lava mitools nlme smcfcs testthat rms riskRegression In total 33 packages are required directly or indirectly (123) when installing 'Publish' (2020.12.23) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'Publish' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on Publish
prodlim Depends 2 0 0 25 3
multcomp Imports Parent package is listed in Imports of Publish but no object from parent package is imported. 16 6
data.table Imports 14 0 0 1 1
survival Imports 2 0 0 9 0
lava Imports Parent package is listed in Imports of Publish but no object from parent package is imported. 22 0
riskRegression Suggests No object is imported into the namespace of Publish. 104 72
rms Suggests No object is imported into the namespace of Publish. 78 59
testthat Suggests No object is imported into the namespace of Publish. 36 30
smcfcs Suggests No object is imported into the namespace of Publish. 17 7
mitools Suggests No object is imported into the namespace of Publish. 3 2
nlme Suggests No object is imported into the namespace of Publish. 6 1

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 Publish Co-heaviness as Jaccard coeffcient
prodlim lava 12 0.8

Analysis was done with pkgndep.