Direct your test writing efforts

The covr package can be used to determine which lines of your package’s source code are (or are not!) executed when the test suite is run.

The goal is to reach 100%, but take in consideration that:

  • Going from 90% or 99% coverage to 100% is not always the best use of your development time and energy.

  • You better focus your testing energy on code that is tricky.