无法使用devtools :: install_github()安装github软件包

时间:2019-01-07 21:31:32

标签: r github devtools

当我尝试从github安装软件包时,出现以下错误:

devtools::install_github("<DeveloperName>/<PackageName>")
Error: HTTP error 404.

 Not Found

  Rate limit remaining: 24/60
  Rate limit reset at: 2019-01-07 21:36:52 UTC

这对我来说没有意义,因为正确输入了“ /”,直到在github.com之后输入浏览器时才带我进入存储库。 (很抱歉,该回购对我公司而言是私有的,否则我将共享实际的开发人员和回购名称。)

我的回溯内容为:

8.stop(github_error(res))
7.github_commit(username = remote$username, repo = remote$repo, host = remote$host, ref = remote$ref, pat = remote$auth_token %||% github_pat(), use_curl = use_curl)
6.remote_sha.github_remote(remote, local_sha)
5.remote_sha(remote, local_sha)
4.FUN(X[[i]], ...)
3.vapply(remotes, install_remote, ..., FUN.VALUE = character(1))
2.install_remotes(remotes, auth_token = auth_token, host = host, dependencies = dependencies, upgrade = upgrade, force = force, quiet = quiet, build = build, build_opts = build_opts, repos = repos, type = type, ...)
1.devtools::install_github("<DeveloperName>/<PackageName>")

我找不到说明最终回溯错误的文档:“ stop(github_error(res))”。我已经更新到最新版本的devtools,但是问题仍然存在。

0 个答案:

没有答案