tests/testthat/helper-timing.R

# Time bounds are asserted only where the workflow asks for them
# (R-CMD-check.yaml sets ZUHTML_TIMING_TESTS=true). Emulated, sanitized,
# valgrind, gctorture and coverage builds run many times slower, and a
# bound that fails there says nothing about the code.
timing_asserted <- function() {
  identical(Sys.getenv("ZUHTML_TIMING_TESTS"), "true")
}

Try the zuhtml package in your browser

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

zuhtml documentation built on Oct. 6, 2026, 5:06 p.m.