Hi, I’m using Macbook Pro M1 core to run brms on Rstudio. I have trouble making rstan to work.
Here’s the error message when I try to install rstan:
ld: framework not found CoreFoundation
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [rstan.so] Error 1
ERROR: compilation failed for package ‘rstan’
I’m a new user of MBP M1 core. I found some relevant posts here but still couldn’t fix it. Any help is appreciated! Thanks!
Try running xcode and see if the 't wants you to sign/agree with its license. In the past, I remember sometimes updating xcode and then would work because xcode components only became usable after agreeing to its license