a function that returns whether or not the condition
is met, and if not, an error message to display.
Details
An expectation checks whether a single condition holds true.
testthat currently provides the following expectations. See
their documentation for more details