tests/testthat/test-readMWRresultsview.R

test_that("Verifying message output for report creation", {
  expect_message(readMWRresultsview(tst$respth, output_dir = tempdir()))
})

test_that("Checking error if incorrect value in columns", {
  expect_error(readMWRresultsview(tst$respth, columns = c("Characeristic Name"), output_dir = tempdir()))
})

Try the MassWateR package in your browser

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

MassWateR documentation built on June 8, 2025, 11:20 a.m.