embl-cba / shinyHTM

3 stars 1 forks source link

enable summaries with multiple measurements. Fixes #4 #5

Closed hmbotelho closed 4 years ago

hmbotelho commented 4 years ago

I also created a tests folder so that we can have R automatically check if future updates break the code

tischi commented 4 years ago

The idea with the test is great! How do we run the tests?

hmbotelho commented 4 years ago

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
tischi commented 4 years ago

Great! Could you add this information to the README of the repo?