tests/testthat/test-moeda-target-types.R

test_that("MOEDA runs for each type of classification", {

  expect_visible(moeda(mtcars, mpg))
  expect_visible(moeda(mtcars %>% dplyr::mutate(mpg = mpg >= mean(mpg)), mpg))
  expect_visible(moeda(iris, Species))

})
jarekkupisz/MOEDA documentation built on Dec. 20, 2021, 9:05 p.m.