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

Consider wrapping examples into \donttest{ #1

Open
vspinu opened this issue Nov 2, 2022 · 0 comments
Open

Consider wrapping examples into \donttest{ #1

vspinu opened this issue Nov 2, 2022 · 0 comments

Comments

@vspinu
Copy link

vspinu commented Nov 2, 2022

When I test revdeps of lubridate I am getting systematically failures of the external api call

## Newly broken

*   checking examples ... ERROR
    
    Running examples in ‘canadacovid-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get_vaccination_data
    > ### Title: Get vaccination data
    > ### Aliases: get_vaccination_data
    > 
    > ### ** Examples
    > 
    > 
    > get_vaccination_data()
    Error: API requested failed with code 429
    Execution halted

I cannot reproduce it when I run the check or tests directly though.

I wonder, given that it is an external call, whether it might be a good idea to wrap examples into \donttest{...} block. WDYT?

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

No branches or pull requests

1 participant