validate: Validate checks that certain facts are true.

Description Usage Arguments Value Examples

View source: R/validate.R

Description

Validate checks that certain facts are true.

Usage

1

Arguments

...

list. A list of conditions to check.

Value

Either TRUE or stops with a list of errors.

Examples

1
  validate(1 == 1, "a" %is% character, length(c(1, 2, 3)) == 3)

peterhurford/quickcheckr documentation built on May 25, 2019, 1:50 a.m.