tests/testthat/setup.R

# Setup file for testthat
# This file is automatically sourced before tests run

# Transform function to strip trailing whitespace from snapshot output
# This ensures snapshots are consistent across platforms (macOS, Linux, Windows)
strip_trailing_ws <- function(x) {
  gsub("[[:space:]]+$", "", x)
}

Try the confintROB package in your browser

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

confintROB documentation built on Oct. 31, 2026, 1:07 a.m.