The newest versions of R (4.2.3 and 4.3.1) are both having problems (some R programs work, some do not). This seems to be something that might need to be resolved by the R community, it is early to be sure. But problems with our R programs should be reported.
The setup and compile steps that work well are shown in:
afni crash after building binaries - #4 by rickr]
I am not aware of any issues with build_afni.py. One can specify that alternate makefile as an option if desired. But that would presumably correspond to different setup instructions. I suggest starting with what we have posted.
- rick