tests/testthat/helper-skip.R

skip_if_not_testing_long_vectors <- function() {
  skip_if_not(
    identical(Sys.getenv("RRAY_TESTING_LONG_VECTORS"), "true"),
    "Not testing long vectors"
  )
}

skip_if_long_double <- function() {
  skip_if(
    !is.null(.Machine$longdouble.digits),
    "Base R accumulates in `long double`"
  )
}

Try the rray package in your browser

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

rray documentation built on Nov. 17, 2026, 5:07 p.m.