Condition object, to specify the condition in a dependency.
Currently implemented simple conditions
Public fields
type
(character(1)
)
Name / type of the condition.
rhs
(any
)
Right-hand-side of the condition.
Methods
Method new()
Creates a new instance of this R6 class.
Arguments
type
(character(1)
)
Name / type of the condition.
rhs
(any
)
Right-hand-side of the condition.
Method test()
Checks if condition is satisfied.
Called on a vector of parent param values.
Method as_string()
Conversion helper for print outputs.
Usage
Condition$as_string(lhs_chr = "x")
Helper for print outputs.
Method clone()
The objects of this class are cloneable with this method.
Usage
Condition$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.