tests/testthat/test-summary.R

test_that("To see whether the conf.int argument does not occur an error", {
  ex <- EMSS(response = cigs_intervals ~ educ,
             selection = smoker ~ educ + age,
             data = Smoke)
  expect_equal(summary(ex, conf.int = FALSE), summary(ex, conf.int = TRUE))
})

Try the EMSS package in your browser

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

EMSS documentation built on Jan. 11, 2022, 1:07 a.m.