You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently learned the hard way that a test for which I have skip_if_offline() can still hit a secondary GitHub API rate limit on CRAN, causing intermittent test failure. Clearly this test also needs skip_on_cran().
This made me think: maybe that is generally true? Or almost always true?
I think it's worth considering if skip_if_offline() should also skip on CRAN or have an argument to control this, defaulting to TRUE.
The text was updated successfully, but these errors were encountered:
I think I use them individually in order to be self-documenting and super-clear about intent. But I can't think of a single test that hits the internet that I would want to run on CRAN. I rely on the test data I am getting constantly from GHA for such tests.
I recently learned the hard way that a test for which I have
skip_if_offline()
can still hit a secondary GitHub API rate limit on CRAN, causing intermittent test failure. Clearly this test also needsskip_on_cran()
.This made me think: maybe that is generally true? Or almost always true?
I think it's worth considering if
skip_if_offline()
should also skip on CRAN or have an argument to control this, defaulting toTRUE
.The text was updated successfully, but these errors were encountered: