- This repository provides a very simple RStudio template for writing unit tests in R using testthat.
- git clone the repository and open it up in RStudio
- In RStudio go to Tools > Shell... and run run_tests.sh
- This will start the testthat unit test runner and output the test results
- An azure-pipelines.yml file has been included for running the tests in the context of a CI build pipeline
- Don't hesitate to get in touch if you have any issues using this template!