Hi, I'm new to RStudio and I would like to install semPlot. However, an error message popped up saying that there is no package called ‘backports’. I attempted to install backports instead, but it also failed and showed the message as follows:
- installing source package ‘backports’ ...
** package ‘backports’ 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 ‘backports’ - removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/backports’
Warning in install.packages :
installation of package ‘backports’ had non-zero exit status
I have tried different ways but still cannot fix it. I would be grateful if anyone can help.
Thank you!