https://stackoverflow.com/questions/48547046/resetting-conda-channel-priorities
https://stackoverflow.com/questions/20923209/problems-installing-the-devtools-package
https://github.com/lme4/lme4/issues/656
https://stackoverflow.com/questions/69026916/cannot-find-cairo-h
中途刹车
https://stackoverflow.com/questions/34583815/install-r-cairo-package-after-installing-cairo-via-conda
https://stackoverflow.com/questions/16678934/r-cairo-installation-without-apt-get-sudo#comment24032553_16678934
遇到报错可能原因的分析角度
https://community.rstudio.com/t/terra-package-fails-to-install/140479
https://github.com/rspatial/terra/issues/487
https://stackoverflow.com/questions/12141422/error-gdal-config-not-found-while-installing-r-dependent-packages-whereas-gdal
https://stackoverflow.com/questions/70925962/r-packages-raster-fail-to-upload-while-searching-for-terra-last-version#:~:text=I%20was%20able%20to%20solve%20doing%20the%20following,Done%21%20You%20can%20now%20load%20the%20raster%20package.
不是很完美,但亲测有效