Confirming test coverage

  1. Install the your current package using devtools::install_local().
  2. Run devtools::test_coverage() to show you’ve covered all your functions.

Shortcuts to add to Rstudio:

  • [Ctrl + T] : devtools::test_file()
  • [Ctrl + Shift + R] : devtools::test_coverage()
  • [Ctrl + R] : devtools::test_coverage_file()