Something that I noted earlier, but since the limit for unauthenticated requests to the GitHub API is 60 per hour and remotes perform API requests for all packages/dependencies to be installed for a certain R package downloaded from GitHub,
the default access token doesn't work.
When installing the development version of atime (i.e. one on GitHub via devtools::install_github()), it becomes necessary to supply one's own PAT:
Using bundled GitHub PAT. Please add your own PAT to the env var `GITHUB_PAT`
Error: Error: Failed to install 'atime' from GitHub:
HTTP error 401.
Bad credentials
Rate limit remaining: 59/60
Rate limit reset at: 2024-02-20 22:49:37 UTC
Execution halted
Error: Process completed with exit code 1.
Something that I noted earlier, but since the limit for unauthenticated requests to the GitHub API is 60 per hour and
remotes
perform API requests for all packages/dependencies to be installed for a certain R package downloaded from GitHub, the default access token doesn't work.When installing the development version of
atime
(i.e. one on GitHub viadevtools::install_github()
), it becomes necessary to supply one's own PAT: