tests/testthat/test-report.htest-kruskal.R

test_that("report.htest-kruskal report", {
  x <- kruskal.test(airquality$Ozone ~ as.factor(airquality$Month))

  set.seed(100)
  expect_snapshot(
    variant = "windows",
    report(x, verbose = FALSE)
  )
})

Try the report package in your browser

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

report documentation built on Sept. 11, 2024, 8:47 p.m.