I am having trouble installing binary packages on Rstudio, I receive the same results everytime I try and install:
" Warning in install.packages :
error in running command
Warning in install.packages :
'tar' returned non-zero exit code 127
Error in install.packages : file ‘/var/folders/35/83hw3y1s5sb6z767cl_9kb280000gn/T//RtmpEhWotM/downloaded_packages/cli_3.4.1.tgz’ is not a macOS binary package"
R is R 4.2.1 GUI 1.79 Big Sur ARM build (8095)
Rstudio 2022.07.2 Build 576
I am using Mac mini Chip Apple M1 / MacOS Monetary version 12.5/
Note that I can install package through R app , but not R studio.
Thank you for your help.