Validator for the scenario
class
Usage
validate_scenario(object, data_ok = FALSE)
Arguments
- object
A scenario
object
- data_ok
A boolean of whether the scenario can have data. This is
useful when creating scenarios manually from existing objects, or when
reading in a scenario
with data from a file.
Value
None. Errors when an invalid scenario
object is provided.