tests/testthat/test-function-max_value_to_limit.R

test_that("max_value_to_limit() works", {

  expect_error(
    kwb.monitoring:::max_value_to_limit()
    # argument "maxValue" is missing, with no default
  )

})
KWB-R/kwb.monitoring documentation built on May 17, 2019, 1:06 p.m.