ABSTRACT

Chapter 2 was pretty long, right? While assertive is getting pretty big, there are infinitely many possible assertions. I don’t have time to write an infinitely large package, so this chapter explains how to create your own custom assertions, for the things I miss. Similarly, you can create your own expectations for the testthat package.