Skip to content
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

[docs] added RETRY() suggestion to api-packages vignette (fixes #638) #642

Closed
wants to merge 3 commits into from
Closed

[docs] added RETRY() suggestion to api-packages vignette (fixes #638) #642

wants to merge 3 commits into from

Conversation

jameslamb
Copy link
Contributor

Thanks for an awesome project! I use httr every day, and recommend it to anyone who will listen.

In this PR, I'd like to recommend an addition to the api-packages vignette. The vignette correctly mentions the importance of retrying failed requests and using exponential backoff w hen you do that, but it doesn't currently mention that httr::RETRY() already has an implementation of that and should be used. I'd like to propose an explicit call-out for RETRY() in the vignette.

For context, I'm working as part of a group at the Chicago R Collab conference this weekend, trying to improve the reliability of HTTP client packages on CRAN. We've found that many such clients use the single-shot httr::<method>() functions, and I suspect that that's because package authors aren't familiar with RETRY(). We've documented a lot more about our thinking (and the contributions we've made to other projects so far) at chircollab/chircollab20#1.

Thanks for your time and consideration!

@jameslamb
Copy link
Contributor Author

I just rebased this to master to pick up things that have changed since I opened it.

@jameslamb
Copy link
Contributor Author

I just merged master into this to pick up more changes that have been added there

@maelle
Copy link

maelle commented Dec 8, 2020

This would fix #638

@jameslamb jameslamb changed the title [docs] added RETRY() suggestion to api-packages vignette [docs] added RETRY() suggestion to api-packages vignette (fixes #638) Dec 8, 2020
@jameslamb
Copy link
Contributor Author

It has been 1 year since this pull request was opened.

Is there some additional information reviewers would like me to provide, or changes you'd like me to make? If reviewers here are not open to this pull request I'd also be happy to close it.

Thank you for your time and consideration.

@jameslamb
Copy link
Contributor Author

This PR has been open for 20+ months with no interaction from maintainers, so I'm confident that there isn't interest in it. I'm going to close this.

@jameslamb jameslamb closed this Jan 29, 2022
@jameslamb jameslamb deleted the docs/retry branch January 29, 2022 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants