remotes::install_github("GuangchuangYu/nCov2019")
提示:
Failed to install 'unknown package' from GitHub: schannel: failed to receive handshake, SSL/TLS connection failed
通过以下步骤解决:
$ git config --global http.sslBackend "openssl"
$ git config --global http.sslCAInfo [path to .pem file]
注:同时我的电脑上也安装了 Win64OpenSSL_Light-1_1_1f:http://slproweb.com/products/Win32OpenSSL.html
在解决以上问题后,又提示tibble包:cannot remove prior installation of package ‘tibble’
解决:把R安装的包tibble删除,再把这个包装上即可。
更正上面,在安装chinamap时
remotes::install_github("GuangchuangYu/chinamap")
再次遇到问题

同样之后显示tibble包有问题,把它从R包里面删除就可以了!
解决R安装GitHub包schannel错误及tibble冲突

这篇博客介绍了在R中尝试从GitHub安装包时遇到的schannel错误和tibble包冲突问题的解决方法。首先,作者提到了可能的解决方案,包括检查OpenSSL的安装,并提供了相关资源链接。接着,针对tibble包无法安装的问题,建议先卸载旧版本再重新安装。最后,作者在安装chinamap包时再次碰到类似问题,同样通过卸载tibble包解决了问题。





