tests/testthat/test1.R

check_api <- function() {
  #if (not_working()) {
    skip("API not available")
  #}
}

test_that("foo api returns bar when given baz", {
  check_api()
  ...
})
rhli-Hannah/RCATE documentation built on Aug. 26, 2020, 9:40 a.m.