Compilation error in one dimensional integration in Rstan

The integrate_1d function got merged into the Stan language today, so you might as well just install the development versions of stuff with

source("https://raw.githubusercontent.com/stan-dev/rstan/develop/StanHeaders/install-github.R", echo = TRUE)
remotes::install_github("stan-dev/rstan", ref = "develop", subdir = "rstan/rstan")

and then do like

2 Likes