Compilation time on Mac

Operating System: macOS Mojave
Interface Version: RStan
Compiler/Toolkit: Xcode

Hello I have a problem with compilation of even the simplest models. I started to use stan using ‘rethinking’ package, but the same situation occurs when using ‘brms’.
When I want to create a model e.g.:

m8.2 <- map2stan(
y ~ dnorm( mu , sigma ) ,
mu <- alpha
) ,
data=list(y=y) , start=list(alpha=0,sigma=1) ,
chains=2 , iter=4000 , warmup=1000 )

Compilation takes around a minute.
Is this normal?
Did anyone had similar issue and found a way to accelerate it?


Unfortunately not.