tests/testthat/test-readMWRwqx.R

test_that("Checking readMWRwqx output format", {
  result <- suppressWarnings(readMWRwqx(tst$wqxpth))
  expect_s3_class(result, 'tbl_df')
})

test_that("Checking row length from readMWRwqx", {
  result <- suppressWarnings(nrow(readMWRwqx(tst$wqxpth)))
  expect_equal(result, 8)
})

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.