- If you have not installed the rstan R package yet, please follow the steps at https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started because you need Xcode on a Mac, RTools on Windows, or build-essential on Linux
- If you have installed the rstan R package, please make sure
packageVersion("rstan")
is 2.10.1. - In either case, please verify that a Stan program compiles and runs with
example("stan_model", package = "rstan", run.dontrun = TRUE)
- Also, verify that
packageVersion("rstanarm")
is 2.10.1; otherwise execute
install.packages("rstanarm", repos = "https://cloud.r-project.org", dependencies = TRUE)
* If you have Windows and R version less than 3.3.x, you may have to add `type = "source"`