tests/testthat/test-qtmev.R

test_that("qtmev", {
  describe("qtmev function", {
    it ("should throw an error if data argument is not of class 'data.frame'", {
      expect_error(qtmev(1, 1:3), "data must be of class 'data.frame'")
    })
  })
})

Try the mevr package in your browser

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

mevr documentation built on June 30, 2024, 9:06 a.m.