tests/testthat/test-srh.kway.R

test_that("srh.kway requires numeric response", {
  data(mimicry, package = "factorH")
  expect_error(srh.kway(gender ~ condition, data = mimicry), "must be numeric")
})

Try the factorH package in your browser

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

factorH documentation built on Sept. 11, 2025, 9:09 a.m.