I've tried to install rlang package in Rstudio (v3.6.1), but I got the following error message:
- installing source package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘rlang’
- removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rlang’
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
Does anybody know how to fix this problem? Please share your solution, thanks!
macOS Catalina Version 10.15)