tests/testthat.R

library(testthat)

if (identical(Sys.getenv("NOT_CRAN"), "true")) {
  filter <- Sys.getenv("TESTTHAT_FILTER", unset = "")
  if (identical(filter, "")) filter <- NULL

  reporter <- MultiReporter$new(reporters = list(
    CheckReporter$new(),
    LocationReporter$new(),
    SummaryReporter$new(show_praise = FALSE)
  ))

  test_check("cuda.ml", filter = filter, reporter = reporter)
}

Try the cuda.ml package in your browser

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

cuda.ml documentation built on Jan. 8, 2022, 9:06 a.m.