tests/testthat/_snaps/vis-binary.md

vis_binary sends an error when used with the wrong data

Code
  vis_binary(iris)
Error <rlang_error>
  data input can only contain binary values
  This means values are either 0 or 1, or NA.
  Please subset the data to be binary values, or see `?vis_value.`


Try the visdat package in your browser

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

visdat documentation built on Feb. 16, 2023, 5:53 p.m.