【发布时间】:2015-09-26 09:39:25
【问题描述】:
我正在尝试在 R 中从 github 安装一个包,但是我收到以下错误:
> install_github("jmp75/rClr", build_vignettes=TRUE)
Downloading github repo jmp75/rClr@master
Error in curl::curl_fetch_memory(url, handle = handle) :
Peer certificate cannot be authenticated with given CA certificates
我已将 RCurl 选项设置为:
options(RCurlOptions = c(getOption("RCurlOptions"), ssl.verifypeer = FALSE, ssl.verifyhost = FALSE ) )
检查设置后:
getOption("RCurlOptions")
我们看到了....
$cainfo
[1] "C:/_CODE/R/Library/RCurl/etc/ca-bundle.crt"
$ssl.verifypeer
[1] FALSE
$ssl.verifyhost
[1] FALSE
我仍然收到错误:
Downloading github repo jmp75/rClr@master
Error in curl::curl_fetch_memory(url, handle = handle) :
Peer certificate cannot be authenticated with given CA certificates
任何线索
【问题讨论】: