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("mtcars")))
})
mlr-org/mlr3viz documentation built on Jan. 17, 2025, 3:37 a.m.