tests/testthat.R

if (require("testthat")) {
  test_check("coala")
} else {
  warning("testthat not available. Skipping unittests!")
}

Try the coala package in your browser

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

coala documentation built on Jan. 5, 2023, 5:11 p.m.