Hi out there, I am a complete novice to RStudio and started a tutorial but hit a wall on the first day as I can't seem to install the tidyverse package. I went through some of the previous posts with similar problems but they were (or to me they looked) all slightly different. As I have no idea where to start let me paste the output from where the error messages start. Hopefully someone out here can point me in the right direction. I should say that I work on a Macbook, Mojave 10.14.6 and have updated RStudio to version 1.3.1073 as this seemed the most obvious first step. Many thanks for even looking at my issue when so many had it before.
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 β/Users/reiling/Library/R/3.5/library/rlangβ
-
restoring previous β/Users/reiling/Library/R/3.5/library/rlangβ
Warning in install.packages :
installation of package βrlangβ had non-zero exit status
- installing source package βtidyselectβ ...
** package βtidyselectβ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace βrlangβ 0.4.5 is being loaded, but >= 0.4.6 is required
ERROR: lazy loading failed for package βtidyselectβ
- removing β/Users/reiling/Library/R/3.5/library/tidyselectβ
Warning in install.packages :
installation of package βtidyselectβ had non-zero exit status
ERROR: dependency βtidyselectβ is not available for package βdbplyrβ
- removing β/Users/reiling/Library/R/3.5/library/dbplyrβ
Warning in install.packages :
installation of package βdbplyrβ had non-zero exit status
ERROR: dependency βtidyselectβ is not available for package βmodelrβ
- removing β/Users/reiling/Library/R/3.5/library/modelrβ
Warning in install.packages :
installation of package βmodelrβ had non-zero exit status