tests/testthat.R

# Let warnings fail loud
library(testthat)
library(raveio)


if( is_on_cran(verbose = TRUE) ) {
  message("Detected CRAN, using max 2 cores and suppress tests/examples that are time-consuming")
} else {
  message("Testing locally, run extra tests with multiple cores")
}

print(Sys.getenv())


test_check("raveio")

Try the raveio package in your browser

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

raveio documentation built on July 26, 2023, 5:29 p.m.