We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I came across this issue when re-executing source code in a new machine and noticing my
while(!is.null(res){ res <- gh::gh_next(res) }
were returning the same page instead of the next page on the new machine, but not in the older machine.
Older machine:
New Machine (issue is here):
After re-installing on the New Machine gh 1.2.0, it worked again.
require(devtools) devtools::install_version("gh", version = "1.4.0", repos = "http://cran.us.r-project.org") require(gh) res <- gh::gh("GET /repos/{owner}/{repo}/issues/events", owner="Copilot-Language", repo="copilot", type="IssuesEvent", page=1, per_page=100, .token=token) res[[1]]$id # 9297015929 res <- gh::gh_next(res) res[[1]]$id # 9297015929 devtools::install_version("gh", version = "1.2.0", repos = "http://cran.us.r-project.org") require(gh) res <- gh::gh("GET /repos/{owner}/{repo}/issues/events", owner="Copilot-Language", repo="copilot", type="IssuesEvent", page=1, per_page=100, .token=token) res[[1]]$id # 9297015929 res <- gh::gh_next(res) res[[1]]$id # 8860246024
I did not get any errors or warnings when executing the MRE.
The text was updated successfully, but these errors were encountered:
res <- gh::gh( "GET /repos/{owner}/{repo}/issues/events", owner = "Copilot-Language", repo = "copilot", type = "IssuesEvent", page = 1, per_page = 100 ) length(res) res[[1]]$id res2 <- gh::gh_next(res) length(res2) res2[[1]]$id identical(res[[1]], res2[[1]])
Sorry, something went wrong.
425a7df
@gaborcsardi Thank you for addressing this!
No branches or pull requests
I came across this issue when re-executing source code in a new machine and noticing my
were returning the same page instead of the next page on the new machine, but not in the older machine.
Older machine:
New Machine (issue is here):
After re-installing on the New Machine gh 1.2.0, it worked again.
Minimal Reproducible Example on New Machine
I did not get any errors or warnings when executing the MRE.
The text was updated successfully, but these errors were encountered: