Skip to content

A very basic RStudio template with automated unit tests using testthat

License

Notifications You must be signed in to change notification settings

BerryConsultants/r-unit-test-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

What is this repository for?

  • This repository provides a very simple RStudio template for writing unit tests in R using testthat.

How do I get set up?

  • 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

Who do I talk to?

  • Don't hesitate to get in touch if you have any issues using this template!

About

A very basic RStudio template with automated unit tests using testthat

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published