https://posit.cloud/content/5050367
I use these two statements to install cmdstanr package and cmdstan in a new project:
install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
cmdstanr::install_cmdstan()
when the latter is excuted, the following error message appeared:
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [make/program:27: stan/src/stan/model/model_header.hpp.gch] Error 1
make: *** Waiting for unfinished jobs....
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [make/program:14: src/cmdstan/main.o] Error 1
I would like to know how can I get cmdstan working on Posit Cloud...