Error occurs when running schools example by calling stan() in R

Maybe related to: Can't compile simple stan code on M1 MacOS Ventura?