tests/testthat/test-print.R

context("print")

test_that("print works", {
  expect_output(print(
    iris %>%
      specify(Sepal.Length ~ Sepal.Width) %>%
      hypothesize(null = "independence") %>%
      generate(reps = 10, type = "permute")
  ))
})
andrewpbray/infer documentation built on Aug. 29, 2019, 5:57 a.m.