inst/tests/test-rhrFidelity.R

context("rhrFidelity checks")

test_that("dat is a data.frame", {
          expect_that(rhrFidelity(list(1:10)), throws_error("must be a data.frame"))
})

Try the rhr package in your browser

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

rhr documentation built on May 2, 2019, 6:06 p.m.