Dependency analysis on package survminer

General information

CRAN link link
Package version0.4.9
Number of strong dependencies115
Number of all dependencies139
Number of parent packages18
Max heaviness from parent packages40
Total heaviness from parent packages58
Number of parent packages (including Suggests and Enhances)24
Max co-heaviness from parent packages ("survMisc" and "ggpubr")4

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils methods grDevices stats graphics grid tools splines parallel stats4 glue rlang magrittr lifecycle R6 ellipsis fansi pillar pkgconfig vctrs cli crayon utf8 tibble Matrix lattice digest RColorBrewer viridisLite gtable MASS mgcv withr nlme farver labeling munsell colorspace stringr stringi xfun isoband scales purrr tidyselect generics evaluate ggplot2 dplyr cpp11 survival highr yaml tidyr Rcpp knitr jsonlite gridExtra backports numDeriv brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 mvtnorm mime data.table ggrepel ggsci cowplot ggsignif polynom rstatix broom corrplot car carData abind nnet pbkrtest quantreg maptools lme4 SparseM MatrixModels sp foreign boot minqa nloptr RcppEigen testthat exactRankTests gridtext markdown RCurl png jpeg xml2 bitops KMsurv zoo km.ci xtable bslib htmltools jquerylib tinytex sass base64enc fastmap fs rappdirs assertthat deSolve mstate muhaz quadprog rstpm2 bbmle fastGHQuad RcppArmadillo BH bdsmatrix 0 5 10 Imported methods 0 50 100 Required packages 0 10 20 30 40 Heaviness from parents ggplot2 ggpubr grid magrittr methods stats rlang purrr gridExtra maxstat survival scales tibble dplyr tidyr broom ggtext survMisc markdown cmprsk knitr rmarkdown testthat flexsurv In total 115 packages are required directly or indirectly (139) when installing 'survminer' (0.4.9) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'survminer' 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 survminer.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on survminer
ggpubr Depends The whole set of functions/methods/classes from parent package is imported to the namespace of survminer. 96 40
ggplot2 Depends 1 0 0 37 0
ggtext Imports Parent package is listed in Imports of survminer but no object from parent package is imported. 51 9
survMisc Imports 2 0 0 53 6
maxstat Imports Parent package is listed in Imports of survminer but no object from parent package is imported. 6 3
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of survminer. 0 0
magrittr Imports 1 0 0 0 0
methods Imports 1 0 0 0 0
stats Imports 12 0 0 0 0
rlang Imports 1 0 0 1 0
purrr Imports 1 0 0 3 0
gridExtra Imports The whole set of functions/methods/classes from parent package is imported to the namespace of survminer. 5 0
survival Imports 5 0 0 9 0
scales Imports Parent package is listed in Imports of survminer but no object from parent package is imported. 15 0
tibble Imports Parent package is listed in Imports of survminer but no object from parent package is imported. 15 0
dplyr Imports 3 0 0 20 0
tidyr Imports 1 0 0 22 0
broom Imports The whole set of functions/methods/classes from parent package is imported to the namespace of survminer. 48 0
flexsurv Suggests No object is imported into the namespace of survminer. 53 13
rmarkdown Suggests No object is imported into the namespace of survminer. 27 10
cmprsk Suggests No object is imported into the namespace of survminer. 10 1
markdown Suggests No object is imported into the namespace of survminer. 5 0
knitr Suggests No object is imported into the namespace of survminer. 12 0
testthat Suggests No object is imported into the namespace of survminer. 36 0

Analysis was done with pkgndep.