tests/testthat/test-test-datasets.R

test_that("test CD_UKBB data", {
  dat <- head(CD_UKBB)
  expect_s3_class(dat, "data.frame")
  expect_equal(nrow(dat), 6)
})

Try the topr package in your browser

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

topr documentation built on June 22, 2024, 9:59 a.m.