Xcode, the command line tools, than i tried this :https://github.com/rmacoslib/r-macos-rtools
but that didnt work so i installed gofortran and clang myself and than checked if r whas able to give c++ compiling comand by a lillte test:
pkgbuild::has_build_tools(debug = TRUE)
if the test works, BRMS works