tests/testthat.R

# Test runner for cowfootR package
library(testthat)
library(cowfootR)

test_check("cowfootR")

if (!requireNamespace("withr", quietly = TRUE)) {
  skip("withr not available for tests")
}

Try the cowfootR package in your browser

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

cowfootR documentation built on Jan. 13, 2026, 5:07 p.m.