I have been attempting to download tidyverse all day with no luck. I am a newbie, but have searched for all sorts of remedies and nothing's done the trick yet. This is the initial error message I receive:
> library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘colorspace’
Upon attempting to install colorspace I receive:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘colorspace’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/colorspace’
Warning in install.packages :
installation of package ‘colorspace’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/f9/rwtzxt9j7218k7k5vy3r03zm0000gn/T/RtmpFYYSDK/downloaded_packages’
No idea what to do about this, am happy to provide more info. Installing directly from the packages tab is also not working.