Dependency analysis on package pammtools

General information

CRAN link link
Package version0.5.8
Number of strong dependencies113
Number of all dependencies125
Number of parent packages15
Max heaviness from parent packages63
Total heaviness from parent packages66
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("pec" and "ggplot2")13

Dependency heatmap

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

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


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on pammtools
pec Imports 1 0 0 105 63
tidyr Imports 7 0 0 22 2
lazyeval Imports 1 0 0 0 1
magrittr Imports 1 0 0 0 0
rlang Imports 9 0 0 1 0
Formula Imports 1 0 0 1 0
checkmate Imports 5 0 0 2 0
mvtnorm Imports 1 0 0 2 0
purrr Imports 15 0 0 3 0
vctrs Imports 1 0 0 5 0
survival Imports The whole set of functions/methods/classes from parent package is imported to the namespace of pammtools. 9 0
mgcv Imports 2 0 0 10 0
tibble Imports 1 0 0 15 0
dplyr Imports 5 0 0 20 0
ggplot2 Imports 5 0 0 37 0
testthat Suggests No object is imported into the namespace of pammtools. 36 12

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 pammtools Co-heaviness as Jaccard coeffcient
ggplot2 pec 13 0.171

Analysis was done with pkgndep.