mlverse / torchaudio

R interface to torchaudio
https://mlverse.github.io/torchaudio/
Other
26 stars 6 forks source link

Avoid running tests and vignettes on CRAN #33

Closed dfalbel closed 3 years ago

dfalbel commented 3 years ago

You should avoid running tests and vignettes on CRAN. Since torch installs additional software, this won't be allowed in the CRAN machines.

Also sometimes, CRAN will say that you can't have \dontrun in all examples. You can use if(torch_is_installed()) to run the examples conditionally.

Athospd commented 3 years ago

Thank you very much!