tests/testthat/test-prodata.R

test_that("Data processing works", {
  model_data <- data.frame(a = c(1,2,3,4,5,6), b = c(1,2,3,4,5,6), s = c(1,2,3,4,5,6))
  expect_true(is.list(prodata(data = model_data, status_colname = "s")))
})

Try the ai package in your browser

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

ai documentation built on Oct. 2, 2024, 5:07 p.m.