Open ff6347 opened 4 years ago
BH is by far the biggest package in terms of size and number of files (see below). It is required by the package "rstan" as we can read in its DESCRIPTION file:
LinkingTo: Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0), BH (>= 1.66), StanHeaders (>= 2.18.0)
The package "rstan" is required by "rstanarm". Installing "rstanarm" will install most of the packages that are required by "fhpredict" as the following code confirms. It uses our package "kwb.package" to determine the (few) packages that are required by "fhpredict" but not by "rstanarm":
> packages <- kwb.package::packageDependencies(c("fhpredict", "rstanarm"))
> setdiff(packages$fhpredict, packages$rstanarm)
[1] "fs" "httr" "kwb.dwd" "kwb.utils" "lubridate" "raster" "rstanarm" "sf"
[9] "sp" "curl" "classInt" "DBI" "units" "e1071" "class"
Thank you.
See hsonne's comment below for how these packages were determined.