expect-vars | R Documentation |
These functions should be used within expect_vars
where variables that
are to be recorded are constraint to the expected values when exported
as an xlsx file by export_design().
The functions to set a particular
value type (numeric, integer, date, time and character) are preceded by
"to_be_" where the corresponding restriction set by with_value()
.
to_be_numeric(range)
to_be_integer(range)
to_be_date(range)
to_be_time(range)
to_be_character(length)
to_be_factor(levels)
range , length |
A named list with two elements: "operator" and "value" as
provided by helper |
levels |
A character vector with the factor levels. |
A record type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.