filter: test_check

testthat/test_check has a filter option:

filter If not NULL , only tests with file names matching this regular expression will be executed. Matching is performed on the file name after it's stripped of "test-" and ".R" .

but according to hadley this filter option is not used by design:

I could not find documentation on the subject - strangely, R CMD honours the filter.

What is the recommened way to skip a group of files without putting skip everywhere? For example, I have a set of tests that run against a real API server, and a set that uses mocks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.