Hello, I've been having issues loading 'car' and 'ggplo2' they all seem to point to the same error message
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.2.2 is already loaded, but >= 0.3.1 is required
installing the source package ‘rlang’
However, when I try updating 'rlang' to a new version I get this error message. Any suggestions?
trying URL 'https://cran.rstudio.com/src/contrib/rlang_0.3.2.tar.gz'
Content type 'application/x-gzip' length 858244 bytes (838 KB)
downloaded 838 KB
- installing source package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** libs
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.5/Resources/library/rlang’
- restoring previous ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rlang’
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/0k/bn4j3rz148g0c5ddh2b0hvwc0000gn/T/RtmptZvch7/downloaded_packages’