系统: Linux - CentOS 6.5
R 版本: 3.2.3(64 位)
我在这里暴露了同样的错误:
>devtools::install_github("pauca/rrdkit/rrdkit")
Downloading GitHub repo pauca/rrdkit@master
from URL https://api.github.com/repos/pauca/rrdkit/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached
>traceback()
13: .Call(R_curl_fetch_memory, url, handle)
12: curl::curl_fetch_memory(url, handle = handle)
11: request_fetch.write_memory(req$output, req$url, handle)
10: request_fetch(req$output, req$url, handle)
9: request_perform(req, hu$handle$handle)
8: httr::HEAD(src_submodules, , auth)
7: github_has_remotes(x, auth)
6: remote_download.github_remote(remote, quiet = quiet)
5: remote_download(remote, quiet = quiet)
4: FUN(X[[i]], ...)
3: vapply(remotes, install_remote, ..., FUN.VALUE = logical(1))
2: install_remotes(remotes, quiet = quiet, ...)
1: devtools::install_github("pauca/rrdkit/rrdkit")
我测试了 maddy2u 的解决方案,但它在我的工作站上无法使用options(download.file.method = "wget")
or options(download.file.method = "libcurl")
。我尝试了很多东西,但我没有解决这个问题的想法。
欢迎任何帮助,并提前致谢。