tests/testthat/test.R

test_that("test data", {
  data("CedarCreek.2004.2006.dat")
  expect_that(CedarCreek.2004.2006.dat, is_a("data.frame"))
}
)

test_that("test data", {
  data("CedarCreek.2004.2006.res")
  expect_that(CedarCreek.2004.2006.res, is_a("list"))
}
)

test_that("test data", {
  data("CedarCreek.2004.res")
  expect_that(CedarCreek.2004.2006.res, is_a("list"))
}
)

Try the functClust package in your browser

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

functClust documentation built on Dec. 2, 2020, 5:06 p.m.