Utility function to use inside check_that.
is_equal(x, y, eq_condition = "equivalent") # S3 method for default is_equal(x, y, eq_condition = "equivalent") # S3 method for formula is_equal(x, y, eq_condition = "equivalent")
| x | object to test |
|---|---|
| y | object to compare |
| eq_condition | how to compare the objects: |