R Failed to install 'unknown package' from GitHub: schannel: failed to receive handshake, SS

remotes::install_github("GuangchuangYu/nCov2019")

提示:

Failed to install 'unknown package' from GitHub: schannel: failed to receive handshake, SSL/TLS connection failed

通过以下步骤解决:

  1. $ git config --global http.sslBackend "openssl"
  2. $ git config --global http.sslCAInfo [path to .pem file]

注:同时我的电脑上也安装了 Win64OpenSSL_Light-1_1_1f:http://slproweb.com/products/Win32OpenSSL.html

Git下载1 下载2(官网)

参考1 参考2

在解决以上问题后,又提示tibble包:cannot remove prior installation of package ‘tibble’

解决:把R安装的包tibble删除,再把这个包装上即可。

参考

 

更正上面,在安装chinamap

remotes::install_github("GuangchuangYu/chinamap")

再次遇到问题

同样之后显示tibble包有问题,把它从R包里面删除就可以了!

(0)

相关推荐