tests/testthat/test_catmap.R

test_that("catmap works", {
  expect_equal(data(catmapdata), "catmapdata")
  catmapobject <- catmap(catmapdata, 0.95, TRUE)
  expect_equal(round(catmapobject$combinedLogOR, 6), 1.110256)
  expect_equal(round(catmapobject$chisq.dsl, 6), 4.118104)
})

Try the catmap package in your browser

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

catmap documentation built on May 2, 2019, 10:21 a.m.