在用devtools安装R包的时候,出现以下错误
devtools::install(build_vignettes = T)
Error in curl::curl_fetch_memory(url, handle = h) :
schannel: failed to receive handshake, SSL/TLS connection failed
寻找解决方案,通过设置SSL能够解决问题。
library(httr)
set_config(config(ssl_verifypeer = 0L))