assertCompartmentExists: Verify that the compartment exists in a model

View source: R/assert.R

assertCompartmentExistsR Documentation

Verify that the compartment exists in a model

Description

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

Functions

  • testCompartmentExists(): Test if compartment exists

Author(s)

Matthew Fidler & Bill Denney

See Also

Other Assertions: assertCompartmentName(), assertCompartmentNew(), assertRxUi(), assertVariableExists(), assertVariableNew(), testIniDf(), testRxUnbounded()


nlmixr2/rxode2 documentation built on Jan. 11, 2025, 8:48 a.m.