vignettes/myrules.R

# basic range checks
speed >= 0
dist  >= 0

# ratio check
speed / dist <= 1.5

Try the validate package in your browser

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

validate documentation built on March 24, 2022, 5:07 p.m.