R 语言在加载PredictABEL包时报错

问题描述:

R 语言在加载PredictABEL包时报错,请问是什么原因,怎么解决?(MAC系统)

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Warning message:
In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1

这里有和你遇到的同样问题及解答建议,参考一下:
https://stackoverflow.com/questions/69215357/i-am-having-a-problem-loading-library-soiltexture-in-r#