8000 Update to address recurring R-CMD-Check failures by chriscarrollsmith · Pull Request #44 · christophergandrud/imfr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update to address recurring R-CMD-Check failures #44

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

chriscarrollsmith
Copy link
Collaborator

The recurring failures of R-CMD-Check were due to hitting a universal bandwidth limit on the API. I've implemented a local-disk caching system and a new throttling option to enforce a wait time between function calls. If the problem persists, fixing it should be a simple matter of setting the option to a higher wait time during tests. But I've done several runs, and so far it looks good.

Use of a cache saves on bandwidth, but it didn't particularly improve runtime—at least not with my high-speed Internet. Caching is turned on by default, but I've made it togglable with an option, so the default can always be changed in a future patch if it turns out to be more trouble than it's worth.

@chriscarrollsmith
Copy link
Collaborator Author

Hah! I wrote that, and then I went and ran simultaneous checks on the R and Python libraries, causing both to fail. Will slow the test process a bit more tomorrow morning and try again.

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.

1 participant
0