tests/testthat.R

library(testthat)
library(covr)
library(purrr)
library(magrittr)
library(organisR)

# Run the tests
results <- testthat::test_dir(
  path = "testthat",
  reporter = "summary"
)

# Return response code
quit(
  save = 'no',
  status = results %>% organisR::test_output(),
  runLast = FALSE
)
ntyndall/translink.bot documentation built on May 25, 2019, 8:28 p.m.