tests/testthat/test_load_data.R

test_that("load_data", {
  expect_data_frame(load_dataset("iris", "datasets"))
})

Try the mlr3misc package in your browser

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

mlr3misc documentation built on Sept. 20, 2023, 5:06 p.m.