Dependency analysis on package relsurv

General information

CRAN link link
Package version2.2-7
Number of strong dependencies115
Number of all dependencies115
Number of parent packages6
Max heaviness from parent packages75
Total heaviness from parent packages76
Number of parent packages (including Suggests and Enhances)6
Max co-heaviness from parent packages ("pammtools" and "ggplot2")18

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports graphics methods stats utils grDevices splines grid parallel compiler tools Matrix lattice glue rlang farver labeling lifecycle munsell R6 RColorBrewer viridisLite colorspace digest gtable isoband MASS mgcv scales tibble withr nlme ellipsis fansi magrittr pillar pkgconfig vctrs cli crayon utf8 survival checkmate tidyr ggplot2 dplyr purrr lazyeval Formula mvtnorm pec backports tidyselect cpp11 generics prodlim foreach rms riskRegression lava timereg Rcpp KernSmooth codetools iterators Hmisc SparseM quantreg rpart polspline multcomp htmlTable htmltools cluster cmprsk data.table doParallel mets plotrix Publish ranger RcppArmadillo future.apply progressr numDeriv SQUAREM latticeExtra nnet foreign gridExtra viridis base64enc MatrixModels TH.data sandwich stringr knitr htmlwidgets rstudioapi fastmap RcppEigen future globals png jpeg zoo stringi evaluate highr yaml xfun jsonlite listenv parallelly 0 0.5 1 Imported methods 0 50 100 Required packages 0 20 40 60 Heaviness from parents date survival splines scales ggplot2 pammtools In total 115 packages are required directly or indirectly (115) when installing 'relsurv' (2.2-7) Depends Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'relsurv' 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 relsurv.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on relsurv
date Depends The whole set of functions/methods/classes from parent package is imported to the namespace of relsurv. 1 1
survival Depends The whole set of functions/methods/classes from parent package is imported to the namespace of relsurv. 9 0
pammtools Imports Parent package is listed in Imports of relsurv but no object from parent package is imported. 113 75
splines Imports The whole set of functions/methods/classes from parent package is imported to the namespace of relsurv. 0 0
scales Imports Parent package is listed in Imports of relsurv but no object from parent package is imported. 15 0
ggplot2 Imports Parent package is listed in Imports of relsurv but no object from parent package is imported. 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 relsurv Co-heaviness as Jaccard coeffcient
ggplot2 pammtools 18 0.194

Analysis was done with pkgndep.