tests/testthat.R

Sys.setenv("R_TESTS" = "")
if (require(testthat, quietly = TRUE)) {
  require(treatSens)
  test_check("treatSens")
} else {
  cat("package 'testthat' not available; cannot run unit tests\n")
}

Try the treatSens package in your browser

Any scripts or data that you put into this service are public.

treatSens documentation built on March 18, 2018, 1:54 p.m.