Running tests locally
Step 0 - Prerequisite
The test framework is installed. Â More information can be found here:Â Installing the testing framework
Step 1 - Run the test
Option 1: R studio
- Build and clean the project (Build menu/ Clean and rebuild).Â
- Run the test, by using the Test Package option, from the Build menu
Option 2: Console
- Change to root directory of R package to be tested
- Use devtools::test() to start testthat
DataSHIELD Wiki by DataSHIELD is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.datashield.ac.uk/wiki