tests/testthat.R

library(testthat)
library(torch)

if (Sys.getenv("TORCH_TEST", unset = 0) == 1) {
  test_check("torch")
}

Try the torch package in your browser

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

torch documentation built on June 7, 2023, 6:19 p.m.