当您尝试从 GitHub 的存储库中安装某些 R 包时
install_github('rWBclimate', 'ropensci')
如果出现以下错误:
Installing github repo(s) rWBclimate/master from ropensci
Downloading rWBclimate.zip from https://github.com/ropensci/rWBclimate/archive/master.zip
Error in function (type, msg, asError = TRUE) :
Could not resolve host: github.com; Host not found, try again
显示此错误是因为 R 正在尝试通过代理访问 Internet。