Rate Limit on add_dockerfile() #570
-
Trying to run
Searching around, I couldn't find anyone with the same issue. I hesitate to open an issue because this seems like a 'me' problem and not a 'golem' problem. I didn't realize the Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hey, So this is due to the fact that there is a rate limit when trying to install packages from GitHub without being logged (you can only make 60 requests by hour). It's not purely Two solutions here:
Hope this helps, Colin |
Beta Was this translation helpful? Give feedback.
Hey,
So this is due to the fact that there is a rate limit when trying to install packages from GitHub without being logged (you can only make 60 requests by hour).
It's not purely
{golem}
related, but can indeed arise if you're rebuilding your Dockerfile too many time (as you will reach the GitHub API limit). That's the reason whyinstall_github()
has aauth_token
parameter: https://remotes.r-lib.org/reference/install_github.html.Two solutions here:
install_github
inside yourDockerfile
. You can create one automatically by callingusethis::browse_github_pat()
.Hope this helps,
Colin