tests/testthat/test-regDIF.R

context("test-regDIF")

test_that("Stop for negative tuning values.", {
  expect_error(regDIF(ida[,1:6],
                      ida[,7:9],
                      tau = -1),
               "Tau values must be non-negative.")
})

Try the regDIF package in your browser

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

regDIF documentation built on May 29, 2024, 9:31 a.m.