Dependency analysis on package rstpm2

General information

CRAN link link
Package version1.5.6
Number of strong dependencies24
Number of all dependencies73
Number of parent packages14
Max heaviness from parent packages6
Total heaviness from parent packages14
Number of parent packages (including Suggests and Enhances)22

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports LinkingTo Suggests methods utils stats graphics grDevices grid splines stats4 tools Matrix lattice Rcpp nlme MASS numDeriv bdsmatrix mvtnorm rlang RColorBrewer viridisLite lifecycle R6 glue survival farver labeling munsell colorspace cli crayon digest ellipsis magrittr withr fansi tibble pillar pkgconfig vctrs utf8 statmod RcppEigen data.table brio callr desc evaluate jsonlite pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 gtable isoband mgcv scales 0 10 20 30 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents methods splines survival graphics stats utils parallel Rcpp fastGHQuad deSolve mgcv bbmle BH RcppArmadillo readstata13 lattice eha survPen mstate scales testthat ggplot2 In total 24 packages are required directly or indirectly (73) when installing 'rstpm2' (1.5.6) Depends Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'rstpm2' 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 rstpm2.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on rstpm2
survival Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rstpm2. 9 1
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rstpm2. 0 0
splines Depends The whole set of functions/methods/classes from parent package is imported to the namespace of rstpm2. 0 0
bbmle Imports The whole set of functions/methods/classes from parent package is imported to the namespace of rstpm2. 13 6
mgcv Imports 2 0 0 10 2
parallel Imports Parent package is listed in Imports of rstpm2 but no object from parent package is imported. 0 1
fastGHQuad Imports Parent package is listed in Imports of rstpm2 but no object from parent package is imported. 3 1
deSolve Imports 1 0 0 4 1
graphics Imports 8 0 0 0 0
stats Imports 32 0 0 0 0
utils Imports 3 0 0 0 0
Rcpp Imports 1 0 0 2 0
BH LinkingTo Parent package is listed in LinkingTo of rstpm2 but no object from parent package is imported. 0 1
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of rstpm2 but no object from parent package is imported. 4 1
testthat Suggests No object is imported into the namespace of rstpm2. 36 32
ggplot2 Suggests No object is imported into the namespace of rstpm2. 37 26
scales Suggests No object is imported into the namespace of rstpm2. 15 11
mstate Suggests No object is imported into the namespace of rstpm2. 14 5
survPen Suggests No object is imported into the namespace of rstpm2. 11 3
readstata13 Suggests No object is imported into the namespace of rstpm2. 3 1
eha Suggests No object is imported into the namespace of rstpm2. 10 1
lattice Suggests No object is imported into the namespace of rstpm2. 5 0

Analysis was done with pkgndep.