Confirming test coverage
- Install the your current package using
devtools::install_local()
. - 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()