tests/testthat/test-test_misc-r.R

# dumb example just to prove we use testthat

test_that("Data lods", {
  data("mercer.wheat.uniformity")
  expect_equal(sum(mercer.wheat.uniformity$grain), 1974.32)
})

Try the agridat package in your browser

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

agridat documentation built on Oct. 27, 2024, 5:07 p.m.