tests/testthat/setup.R

library(checkmate)
lapply(list.files(system.file("testthat", package = "mlr3"),
  pattern = "^helper.*\\.[rR]$",
  full.names = TRUE
), source)


lg = lgr::get_logger("mlr3oml")
old_threshold = lg$threshold
lg$set_threshold("warn")

..old_opts = options(
  mlr3oml.verbose = FALSE,
  mlr3oml.retries = 20L,
  mlr3oml.cache = if (identical(Sys.getenv("GITHUB_ACTIONS"), "true")) "~/openml" else FALSE
)

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.