包开发初学者在这里!
我正在尝试第一次将一些代码转换为本地R包。我使用制作了一个软件包usethis::create_package(),并使用添加了文档devtools::document()。
现在,在玩了一段时间后,尝试使用安装最新版本时遇到了以下错误devtools::install():
Error: HTTP error 403.
API rate limit exceeded for [my IP]. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Rate limit remaining: 0/60
Rate limit reset at: 2019-03-18 16:32:05 UTC
To increase your GitHub API rate limit
- Use `usethis::browse_github_pat()` to create a Personal Access Token.
- Use `usethis::edit_r_environ()` and add the token as `GITHUB_PAT`.
Run Code Online (Sandbox Code Playgroud)
如果使用,问题仍然存在devtools:install_local("my_folder_name")。真正令我困惑的是,我试图通过安装位于本地文件夹中的软件包来达到GitHub速率限制。 …