Skip to content

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

Open
chriscarrollsmith wants to merge 10 commits into
christophergandrud:mainfrom
Promptly-Technologies-LLC:main
Open

Update to address recurring R-CMD-Check failures#44
chriscarrollsmith wants to merge 10 commits into
christophergandrud:mainfrom
Promptly-Technologies-LLC:main

Conversation

@chriscarrollsmith
Copy link
Copy Markdown
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
Copy Markdown
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