omxCheckError: Correct Error Message Function

View source: R/MxUnitTesting.R

omxCheckErrorR Documentation

Correct Error Message Function

Description

This function tests whether the correct error message is thrown.

Usage

omxCheckError(expression, message)

Arguments

expression

an R expression that produces an error

message

a character string with the desired error message

Details

Arguments ‘expression’ and ‘message’ give the expression that generates the error and the message that is supposed to be generated, respectively.

References

The OpenMx User's guide can be found at <https://openmx.ssri.psu.edu/documentation>.

See Also

omxCheckWarning omxCheckWithinPercentError, omxCheckIdentical, omxCheckSetEquals, omxCheckTrue, omxCheckEquals


OpenMx documentation built on Oct. 19, 2024, 9:06 a.m.