Last chance! 50% off unlimited learning
Sale ends in
omxCheckTrue(a)
options("mxPrintUnitTests" = FALSE)
.
omxCheckCloseEnough
, omxCheckWithinPercentError
, omxCheckIdentical
, omxCheckSetEquals
, omxCheckEquals
omxCheckTrue(1 + 1 == 2)
omxCheckTrue(matrix(TRUE, 3, 3))
# Throws an error
try(omxCheckTrue(FALSE))
Run the code above in your browser using DataLab