tests/testthat/test-analyte.R

test_that("check_data", {
  expect_null(chk::check_data(
    analyte,
    values = list(
      Analyte = "",
      Units = "",
      MRL = c(0, 100)
    ),
    exclusive = TRUE,
    order = TRUE,
    nrow = c(10, 100),
    key = "Analyte"
  ))
})
poissonconsulting/curtisquadata documentation built on Jan. 18, 2025, 5:59 p.m.