tests/testthat/test-foobar.R

testthat::context('Testing foobar')
setwd(here::here(''))  # workspace is reset per file

testthat::test_that('foobar()', {
    testthat::expect_true(T);

    print('haha, I\'m not skipped')    
})

testthat::test_that('foobar()', {
    testthat::expect_true(T);

    'Nice, I can use %>% ' %>% print()    
})
dongzhuoer/shapebase documentation built on Jan. 9, 2020, 12:08 p.m.