condition_test | R Documentation |
Condition object, to specify the condition in a dependency.
condition_test(cond, x)
condition_as_string(cond, lhs_chr = "x")
Condition(rhs, condition_format_string)
cond |
( |
x |
( |
lhs_chr |
( |
rhs |
( |
condition_format_string |
( |
condition_test()
: Used internally. Tests whether a value satisfies a given condition.
Vectorizes when x
is atomic.
condition_as_string()
: Used internally. Returns a string that represents the condition for pretty
printing, in the form "<lhs> <relation> <rhs>"
, e.g. "x == 3"
or
"param %in% {1, 2, 10}"
.
CondEqual(rhs)
Value must be equal to rhs
.
CondAnyOf(rhs)
Value must be any value of rhs
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.