tests/testthat/helper-skip.R

# Skip slow tests
skip_slow <- function(message = "Slow test skipped") {
  if (exists("run_slow_tests", envir = .GlobalEnv)) {
    if (!get("run_slow_tests", envir = .GlobalEnv)) {
      skip(message)
    }
  } else if (!identical(Sys.getenv("RUN_SLOW_TESTS"), "true")) {
    skip(message)
  }
}

Try the pROC package in your browser

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

pROC documentation built on Aug. 8, 2025, 6:28 p.m.