I've tried for a few hours to install Shiny on my computer but I keep getting this message once it stops downloading:
- installing source package ‘fastmap’ ...
** package ‘fastmap’ 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 ‘fastmap’ - removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/fastmap’
Warning in install.packages :
installation of package ‘fastmap’ had non-zero exit status
ERROR: dependency ‘fastmap’ is not available for package ‘shiny’ - removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/shiny’
Warning in install.packages :
installation of package ‘shiny’ had non-zero exit status