tests/testthat/test_tbl_analysis.R

test_that("an analysis can be created", {
  expect_is(analysis(), "tbl_analysis")
})

test_that("an analysis exists", {
  expect_true(is_analysis(analysis()))
})

test_that("an analysis can be de-created", {
  expect_is(as_canonical(analysis()), "data.frame")
})
novisci/stype documentation built on July 28, 2022, 7:44 a.m.