tests/testthat/_snaps/options.md

options(cards.round_type) messaging

Code
  withr::with_options(list(cards.round_type = "NOT-CORRECT"), ard_tabulate(
    data.frame(x = c(T, F)), variables = everything(), statistic = ~"p"))
Condition
  Error in `dplyr::mutate()`:
  i In argument: `fmt_fun = pmap(...)`.
  Caused by error in `ard_tabulate()`:
  ! The `cards.round_type` option must be one of "round-half-up" and "round-to-even".


Try the cards package in your browser

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

cards documentation built on Dec. 2, 2025, 9:07 a.m.