Rstan source install broken since boost update

I mistakenly erased my R packages folder, and now rstan won’t install. I believe this is due to the boost update mentioned here. Is there a workaround?

Operating System: Arch Linux
Interface Version: 2.16.2
GCC version: 7.1.1
Output of writeLines(readLines(file.path(Sys.getenv(“HOME”), “.R/Makevars”))):

CXXFLAGS = -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function
CXXFLAGS += -flto -ffat-lto-objects -Wno-unused-local-typedefs
CXXFLAGS += -Wno-ignored-attributes -Wno-deprecated-declarations
CXXFLAGS += -std=c++11

Output of devtools::session_info("rstan”):

Error: `pkgs` 'rstan' are not installed

Oh, just found this solved here.

1 Like

Thanks for posting the answer back!