That is what I get when i am trying to install the package.
- installing source package ‘Rcpp’ ...
** package ‘Rcpp’ 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 ‘Rcpp’
- removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/Rcpp’
The downloaded source packages are in
‘/private/var/folders/ld/5gyjrx5n7sgb50kmj06n6bkc0000gn/T/RtmpWIGSP2/downloaded_packages’
Warning message:
In install.packages("dplyr") :
installation of package ‘Rcpp’ had non-zero exit status
System Information:
- RStudio Edition: (Desktop or Server) desktop
- RStudio Version: last version for mac
- OS Version: 10.13.6
- R Version: 3.5.1
Someone has an idea?
From Troubleshooting Guide: Using RStudio