tests/testthat.R

if (identical(Sys.getenv("TORCH_TEST", unset = "0"), "1")) {
  library("checkmate")
  library("testthat")
  test_check("mlr3torch")
}

Try the mlr3torch package in your browser

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

mlr3torch documentation built on April 4, 2025, 3:03 a.m.