I have tried installing with the command you suggest me and this is the result:
There is a binary version available but the source version is later:
binary source needs_compilation
vctrs 0.2.4 0.3.0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) y
The source package is correctly installed but there are several warnings
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
- installing source package 'vctrs' ...
** package 'vctrs' successfully unpacked and MD5 sums checked
** using staged installation
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package 'vctrs'
- removing '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/vctrs'
The downloaded source packages are in
'/private/var/folders/q2/98ctb28d38z0vq07bf5w9lmm0000gn/T/Rtmpu32dve/downloaded_packages'
Warning message:
In install.packages("vctrs") :
installation of package 'vctrs' had non-zero exit status
I have a MAC Os Catalina 10.15.4 and I have installed R 4.0.0. I have done almost everything, but I´m not an expert. I will be thankful if you help me to install R commander