Closed hmbotelho closed 4 years ago
The idea with the test is great! How do we run the tests?
The idea with the test is great! How do we run the tests?
# install.packages("testthat")
setwd("c:/users/hugo/documents/github/shinyhtm-1/tests") # adjust
source("testthat.R")
You should then get a short report:
== Results =====================================================================
Duration: 1.2 s
OK: 2
Failed: 0
Warnings: 0
Skipped: 0
Great! Could you add this information to the README of the repo?
I also created a tests folder so that we can have R automatically check if future updates break the code