R devtools::install_github(“jzsbioinfo/APRD”) Error in utils::download.file(url, path, method = method, quiet = quiet,

元气小坏坏 提交于 2021-02-11 12:22:01

问题


R devtools::install_github("jzsbioinfo/APRD") Error in utils::download.file(url, path, method = method, quiet = quiet, : Can not open URL'https://api.github.com/repos/jzsbioinfo/APRD/tarball/master'

My session info:

─ Session info ────────────────────────────────────────────────────────────────────────────
setting value
version R version 3.6.2 (2019-12-12)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)

Methods I have tried but doesn't work:

options(download.file.method = "libcurl")
devtools::install_github("jzsbioinfo/APRD")

or

options(download.file.method = "wininet")
devtools::install_github("jzsbioinfo/APRD")

I also tried to check the Use TLS 1.2 box in the internet opinions, but doesn't work.


回答1:


the problem has been solved. I just updated devtools and remotes package.



来源:https://stackoverflow.com/questions/65273115/r-devtoolsinstall-githubjzsbioinfo-aprd-error-in-utilsdownload-fileurl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!