Hi,
I need to use confusionMatrix function so I've downloaded 'caret' package.
At the end of the installation the following errors appear:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘gower’
- removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gower’
Warning in install.packages :
installation of package ‘gower’ had non-zero exit status
ERROR: dependency ‘gower’ is not available for package ‘recipes’ - removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/recipes’
Warning in install.packages :
installation of package ‘recipes’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/13/0q4ppkzs6rbbmd2g73dkgk180000gn/T/RtmpZs0Y2z/downloaded_packages’
I'm working on mac. I've deleted R and R studio and installed again, deleted the package and installed again. Restarted R server. Anything works.
Finally when using confusionMatrix or any function of this package, I receive an error indicating that the function can't be found.
Could you please assist?