系统: Linux - CentOS 6.5
R版本: 3.2.3(64位)
我有相同的错误公开here:
>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")
或options(download.file.method = "libcurl")
的我的电台上无效。我尝试了很多东西,但我没有想法解决这个问题。
欢迎任何帮助,并提前致谢。