tests/testthat.R

library(testthat)
library(torchdatasets)

if (Sys.getenv("TORCH_TEST", unset = 0) == 1)
  test_check("torchdatasets")

Try the torchdatasets package in your browser

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

torchdatasets documentation built on Feb. 16, 2023, 9:23 p.m.