tests/testthat.R

if (require(testthat)) {
  library(triangle)

  test_check("triangle")
} else {
  cat("\ntestthat is not available\n")
}

Try the triangle package in your browser

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

triangle documentation built on Dec. 28, 2022, 2:09 a.m.