tests/testthat/test-checkHistogram.R

context("checkHistogram")

test_that("checkHistogram with weird inputs", {
  x = rnorm(10)
  expect_error(checkHistogram(hist(x), c(x,1)))
})

Try the essHist package in your browser

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

essHist documentation built on May 10, 2019, 5:03 p.m.