# NOT RUN {
if (FALSE) skip("No internet connection")
test_that("skip example", {
expect_equal(1, 1L) # this expectation runs
skip('skip')
expect_equal(1, 2) # this one skipped
expect_equal(1, 3) # this one is also skipped
})
# }
Run the code above in your browser using DataLab