本文介绍了无法使devtools :: install_github()在Win 7 64位计算机上的R中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次我尝试从RStudio运行install_github()时,都会得到以下信息:
each time I try to run install_github() from RStudio I get something like this:
devtools::install_github("r-lib/devtools")
Downloading GitHub repo r-lib/devtools@master
Error in utils::download.file(url, path, method = download_method(), quiet = quiet, :
cannot open URL 'https://api.github.com/repos/r-lib/devtools/tarball/master'*
我尝试了
这就是我得到的:
assignInNamespace("version_info", c(devtools::version_info, list("3.5" = list(version_min = "3.3.0", version_max = "99.99.99", path = "bin"))), "devtools")
Error in bindingIsLocked(x, ns) : no binding for "version_info"
find_rtools() # is TRUE now
Error in find_rtools() : could not find function "find_rtools"*
请建议使用workaorund来获取 devtools :: install_github()
可以在我的Win PC上工作。
谢谢
Please suggest a workaorund to get devtools::install_github()
to work on my Win PC.thank you
推荐答案
我相信我已经找到了基于以下操作系统的Win 7 64位计算机的解决方案:
I believe I have found a solution for this Win 7 64 bit machine which was based on:https://github.com/r-lib/remotes/issues/130
单击开始>键入 Internet选项>单击 Internet选项>转到高级,然后选中 TLS 1.2框。
Click Start > type in "Internet Options" > click "Internet options" > Go to "Advanced" and check TLS 1.2 box.
这篇关于无法使devtools :: install_github()在Win 7 64位计算机上的R中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!