Command not found

I got a new laptop (MacBook Pro 16, 32GB) so I had to download R and R studio and all packages again. Now when I run a mixed effects model with brms I get the following notice:

Compiling Stan program…
sh: clang++ -mmacosx-version-min=10.13: command not found

And it takes a very long time to start sampling. Any ideas how this can be fixed? Thanks.

This seems similar to this issue:

I think the solution was in this comment: https://github.com/stan-dev/rstan/issues/774#issuecomment-656327377

Does that work for you?

Yes, it did. Thank you so much!

1 Like