tests/testthat/_snaps/print.bal.tab.md

error messages from print are stable

Code
  print(b, disp = "bogus")
Condition
  Error:
  ! "bogus" is not allowed in `disp`.
Code
  print(b, stats = "ks.statistics")
Condition
  Error:
  ! `stats` cannot contain "ks.statistics" when it was not requested in the original call to `bal.tab()`.
Code
  print(b, un = "yes")
Condition
  Error:
  ! `un` must be a logical value (TRUE or FALSE).


Try the cobalt package in your browser

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

cobalt documentation built on Aug. 26, 2026, 1:07 a.m.