View source: R/validation_asserts.R
assert_expected_values | R Documentation |
Optionally check that the column contains all expected values.
assert_expected_values(data, column_name, expected_values, all_values = FALSE)
data |
The data to check |
column_name |
The column name to check |
expected_values |
The set of expected values |
all_values |
If TRUE check that the column contains all expected values |
TRUE is valid otherwise throws an error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.