Dependency analysis on package flexsurv

General information

CRAN link link
Package version2.1
Number of strong dependencies53
Number of all dependencies88
Number of parent packages19
Max heaviness from parent packages11
Total heaviness from parent packages21
Number of parent packages (including Suggests and Enhances)26
Max co-heaviness from parent packages ("tidyr" and "dplyr")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests methods utils grDevices stats graphics grid splines tools parallel stats4 lattice Matrix rlang magrittr glue ellipsis vctrs cli survival fansi lifecycle pillar pkgconfig crayon utf8 tibble R6 purrr MASS RColorBrewer viridisLite tidyselect generics mgcv nlme mvtnorm data.table dplyr cpp11 Rcpp bbmle fastGHQuad deSolve RcppArmadillo BH numDeriv bdsmatrix evaluate digest withr highr stringr yaml xfun stringi expm brio callr desc jsonlite pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 gtable isoband scales farver labeling munsell colorspace 0 2 4 Imported methods 0 10 20 30 Required packages 0 5 10 15 Heaviness from parents survival magrittr numDeriv quadprog assertthat generics rlang mvtnorm Rcpp purrr deSolve Matrix tidyselect muhaz mstate tibble dplyr tidyr rstpm2 colorspace eha TH.data knitr msm testthat ggplot2 In total 53 packages are required directly or indirectly (88) when installing 'flexsurv' (2.1) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'flexsurv' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on flexsurv
survival Depends 5 0 0 9 0
rstpm2 Imports Parent package is listed in Imports of flexsurv but no object from parent package is imported. 24 11
mstate Imports 2 0 0 14 4
assertthat Imports Parent package is listed in Imports of flexsurv but no object from parent package is imported. 1 2
tidyr Imports 3 0 0 22 2
quadprog Imports 1 0 0 0 1
muhaz Imports 1 0 0 10 1
magrittr Imports 1 0 0 0 0
numDeriv Imports 1 0 0 0 0
generics Imports 3 0 0 1 0
rlang Imports 1 0 0 1 0
mvtnorm Imports 1 0 0 2 0
Rcpp Imports 1 0 0 2 0
purrr Imports 1 0 0 3 0
deSolve Imports 1 0 0 4 0
Matrix Imports 1 0 0 7 0
tidyselect Imports 2 0 0 9 0
tibble Imports 1 0 0 15 0
dplyr Imports 3 0 0 20 0
testthat Suggests No object is imported into the namespace of flexsurv. 36 17
ggplot2 Suggests No object is imported into the namespace of flexsurv. 37 10
knitr Suggests No object is imported into the namespace of flexsurv. 12 7
msm Suggests No object is imported into the namespace of flexsurv. 12 2
colorspace Suggests No object is imported into the namespace of flexsurv. 4 1
eha Suggests No object is imported into the namespace of flexsurv. 10 1
TH.data Suggests No object is imported into the namespace of flexsurv. 11 1

Analysis was done with pkgndep.