Runs testthat tests in a single
.R file. If the file currently open in the
RStudio editor is called
the filename of the currently open file with starts with
test_ it will
testthat::test_file() on the current file.
passed on to
This is useful in cases where you don't want to run all tests in a package
devtools::test() (CTRL+SHIFT+T in RStudio).