tests/testthat/test-get_tables.R

test_that("subject 'as is' I() works", {
  expect_identical(get_tables(subjects = "3465"), get_tables(subjects = c("3465")))
})

test_that("numeric pastdays", {
	expect_error(get_tables(pastdays = "a"))
})

Try the danstat package in your browser

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

danstat documentation built on Jan. 31, 2022, 9:08 a.m.