Assert a variable exists in the model
assertVariableExists(ui, x) testVariableExists(ui, x)
ui
: rxode2 ui modelx
: does the x
variable exist in the model. If it is a vector of variable check to see if any exists, but all must be valid nlmixr2 variable namesvariable that matches, in the case of multiple variables, the first that matches. If nothing matches return error
testVariableExists()
: Test if variable existsOther Assertions: assertCompartmentExists()
, assertCompartmentName()
, assertCompartmentNew()
, assertRxUi()
, assertVariableNew()
, testIniDf()
, testRxUnbounded()
Matthew L. Fidler
Useful links