tests/testthat/test_OMLResamplingConnector.R

skip_on_cran()

test_that("Construct resampling from dict", {
  expect_resampling(rsmp("oml", task_id = 9), task = tsk("oml", task_id = 9))
  expect_resampling(rsmp("oml", task_id = 31))
  expect_r6(rsmp("oml", task_id = 31), "ResamplingCustom")
})

Try the mlr3oml package in your browser

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

mlr3oml documentation built on Aug. 26, 2025, 5:08 p.m.