tests/testthat/test-negative.R

context("negative")

test_that("", {
  skip_on_cran()
  data(negative)
	expect_is(negative, "data.frame")
	expect_true(class(negative$CreationDate) == 'Date')
  expect_true(class(negative$ModificationDate) == 'Date')
  expect_true(all(negative$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.