Last chance! 50% off unlimited learning
Sale ends in
Condition object, to specify the condition in a dependency.
R6::R6Class object.
c = Condition$new(type, rhs)
type
:: character(1)
Name / type of the condition.
rhs::any
Right-hand-side of the condition.
test(function(x))
??? -> logical(n)
Checks if condition is satisfied.
Called on a vector of parent param values.
CondEqual$new(rhs)
Parent must be equal to rhs
.
CondAnyOf$new(rhs)
Parent must be any value of rhs
.