You are not showing the complete console output so I can't know if we are seen the actual root cause of your problem but from what I can see you are missing Xcode in your system (not in R) and the recommended development tools for macOS systems.
https://cran.r-project.org/bin/macosx/tools/
These tools are required to compile packages from source and since you are using a very old R version, you are forced to install packages this way.
Note: Please do not post screenshots, it is considered a bad practice here, post formatted code instead, here is how to do it
Formatting Code: the Basics
All code or console output you include in your posts should be formatted properly. Luckily, this is very easy to do! Just use the code formatting button at the top of the post editing box:
[image]
Select some code
Click the </> button!
The code formatting button automatically adds special Markdown formatting symbols to whatever you selected. If you check the preview pane to the right of your post, you'll see that the forum software now outputs nicely formatted code .
[04]
The code formatting button is pretty smart! It can tell the difference between snippets of code that are part of a sentence and blocks of code that stand alone. …