tests/testthat/test-08-errors.R

# context("Errors")
#
# test_that("Fit factors only", {
#
#   dat <- gen_mixture(n = 10)
#   expect_error(iprobit(as.numeric(dat$y), dat$X))
#
# })
#
# test_that(">3-way interactions", {
#
#   data(iris)
#   expect_error(iprobit(Species ~ . ^ 3, iris))
#
# })
haziqjamil/iprobit documentation built on May 17, 2019, 3:07 p.m.