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