data-params {testdat} | R Documentation |
Expectation params
var |
An unquoted column name to test. |
vars |
< |
flt |
< |
miss |
A vector of values to be treated as missing. The testdat.miss option is used by default. |
data |
A data frame to test. The global test data is used by default. |
expect_*()
functions are mainly called for their side effects. The
expectation signals its result (e.g. "success", "failure"), which is logged
by the current test reporter. In a non-testing
context the expectation will raise an error with class
expectation_failure
if it fails.