Hello, I have an error message when trying to install R commander as below:
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘cli’
Error: package ‘RcmdrMisc’ could not be loaded
The downloaded source packages are in
‘/private/var/folders/j3/pg1fk5vs3rn_6949tpl5_fmc0000gn/T/RtmpHcaBGI/downloaded_packages’
Warning message:
In install.packages("cli") :
installation of package ‘cli’ had non-zero exit status
The easiest solution would be to answer "no" to this question, you would get a precompiled binary version that is a little older but much easier to install.
If you need to install the latest version from source, then you need to install Xcode in your system (not in R) and the recommended development tools for macOS systems. https://mac.r-project.org/tools/