View source: R/helpers-for-tests.R
skip_if_over_rate_limit | R Documentation |
This is based on a function of the same name from the remotes
package.
Note, this uses no token, so it is checking the public rate limit.
This is appropriate because this package has no interface for passing in a token, so it will always be hitting the public API.
skip_if_over_rate_limit(by = 5)
by |
if less than this number of requests are left before hitting the rate limit, skip the test |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.