Closed hughjonesd closed 6 years ago
It would be nice if skip() used outside a test skipped the entire context.
skip()
I have several tests of features that depend on a particular package, e.g. https://github.com/hughjonesd/huxtable/blob/master/tests/testthat/test-flextable.R . I'd like to write skip_if_not_installed("package") once instead of several times.
skip_if_not_installed("package")
Shut up David, this works already :-/
It would be nice if
skip()
used outside a test skipped the entire context.I have several tests of features that depend on a particular package, e.g. https://github.com/hughjonesd/huxtable/blob/master/tests/testthat/test-flextable.R . I'd like to write
skip_if_not_installed("package")
once instead of several times.