tests/testthat/test-test_misc-r.R

context("test-test_misc-r.R")

# dumb example to qualify as having tests...

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 July 12, 2018, 1:04 a.m.