tests/testthat/test_Task.R

skip_if_not_installed("mlr3")

test_that("fortify.Task", {
  expect_data_table(fortify(mlr3::tsk("iris")), nrows = 150, ncols = 5)
  expect_data_table(fortify(mlr3::tsk("boston_housing")))
})

Try the mlr3viz package in your browser

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

mlr3viz documentation built on Nov. 23, 2023, 5:07 p.m.