tests/testthat/test-nematodes.R

context("nematode")

test_that("wormy time", {
  skip_on_cran()
  data(nematode)
	expect_is(nematode, "data.frame")
	expect_true(class(nematode$CreationDate) == 'Date')
  expect_true(class(nematode$ModificationDate) == 'Date')
  expect_true(all(nematode$ModificationDate < "2021-01-01"))
})

Try the insectDisease package in your browser

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

insectDisease documentation built on Jan. 7, 2023, 1:26 a.m.