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