Dependency analysis on package rstantools

General information

CRAN link link
Package version2.2.0
Number of strong dependencies10
Number of all dependencies107
Number of parent packages5
Max heaviness from parent packages5
Total heaviness from parent packages8
Number of parent packages (including Suggests and Enhances)14
Max co-heaviness from parent packages ("desc" and "Rcpp")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices graphics tools stats4 grid parallel splines glue R6 cli rprojroot magrittr rlang withr crayon desc yaml evaluate rstudioapi digest highr stringr xfun stringi callr processx ps jsonlite lifecycle prettyunits fs rappdirs knitr purrr pkgload tibble ellipsis fansi pillar pkgconfig vctrs utf8 bslib htmltools jquerylib tinytex sass base64enc fastmap brew commonmark xml2 cpp11 clipr curl gert gh whisker askpass credentials openssl sys zip gitcreds httr ini mime brio praise waldo diffobj rematch2 StanHeaders ggplot2 inline gridExtra Rcpp RcppParallel loo pkgbuild RcppEigen BH gtable isoband MASS mgcv scales checkmate matrixStats Matrix nlme farver labeling munsell RColorBrewer viridisLite backports lattice colorspace 0 1 2 Imported methods 0 20 40 60 Required packages 0 20 40 Heaviness from parents stats utils RcppParallel Rcpp desc rstudioapi knitr pkgload pkgbuild rmarkdown roxygen2 usethis testthat rstan In total 10 packages are required directly or indirectly (107) when installing 'rstantools' (2.2.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'rstantools' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on rstantools
desc Imports Parent package is listed in Imports of rstantools but no object from parent package is imported. 6 5
stats Imports 2 0 0 0 1
RcppParallel Imports Parent package is listed in Imports of rstantools but no object from parent package is imported. 0 1
Rcpp Imports Parent package is listed in Imports of rstantools but no object from parent package is imported. 2 1
utils Imports Parent package is listed in Imports of rstantools but no object from parent package is imported. 0 0
rstan Suggests No object is imported into the namespace of rstantools. 58 49
usethis Suggests No object is imported into the namespace of rstantools. 36 29
testthat Suggests No object is imported into the namespace of rstantools. 36 29
rmarkdown Suggests No object is imported into the namespace of rstantools. 27 23
roxygen2 Suggests No object is imported into the namespace of rstantools. 30 23
knitr Suggests No object is imported into the namespace of rstantools. 12 9
pkgbuild Suggests No object is imported into the namespace of rstantools. 16 9
pkgload Suggests No object is imported into the namespace of rstantools. 14 7
rstudioapi Suggests No object is imported into the namespace of rstantools. 0 1

Analysis was done with pkgndep.