-
Notifications
You must be signed in to change notification settings - Fork 30
Package housekeeping #285
New issue
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
base: dev
Are you sure you want to change the base?
Package housekeeping #285
Conversation
Failsafe for error 429 Too Many Requests
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #285 +/- ##
==========================================
+ Coverage 89.72% 89.78% +0.06%
==========================================
Files 32 32
Lines 1829 1840 +11
==========================================
+ Hits 1641 1652 +11
Misses 188 188 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I merged the PR #284 to this commit to see if the tests run correctly with increased timeout. There was a scb-related timeout here in GitHub whereas the tests worked normally on my own computer |
| pxurl <- build_pxweb_url(px) | ||
| pxqs[[i]] <- pxweb_remove_metadata_from_query(pxqs[[i]], pxmd) | ||
| r <- httr::POST(pxurl, body = pxweb_as_json(x = pxqs[[i]]), pxweb_user_agent(), ...) | ||
| r <- httr::RETRY( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to move the times, pa_use etc out as an argument through ellipsis and not hardcode it? Or?
|
Hi, Just a small question. Im not sure about the args to RETRY. Maybe have a separate RETRY function through pxweb_advanced_get? |
This should be merged after #282 and #284