Skip to content

Should skip_if_offline() imply skip_on_cran()? Or at least default to that? #1479

@jennybc

Description

@jennybc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementskip

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions