0

Is there a way to run testthat tests on build and reload in RStudio? Is it possible to run only a subset of tests?

I find myself writing a test, making a change, build+reload, then manually running tests.

Brandon Bertelsen
  • 43,807
  • 34
  • 160
  • 255

1 Answers1

1

Test your package with Ctrl/Cmd + Shift + T or devtools::test().

Here is a good link about it too. http://r-pkgs.had.co.nz/tests.html

Developer
  • 917
  • 2
  • 9
  • 25