tests/testthat/test-mot.R

context("test-mot")

test_that("stop if not", {
  expect_error(get_MOT())
  expect_error(get_MOT(c(1)))
  expect_error(get_MOT(c("REG")))

})

Try the stats19 package in your browser

Any scripts or data that you put into this service are public.

stats19 documentation built on Nov. 5, 2023, 1:09 a.m.