Verify that the compartment exists in a model
Usage
assertCompartmentExists(ui, x)
testCompartmentExists(ui, x)
Arguments
- ui
is the model to test
- x
The value to test (can be a vector of strings)
Value
the value of the compartment that exists; if it is a vector
returns the first item that matches
Author
Matthew Fidler & Bill Denney