tests/testthat/test-plothpp_step.R

test_that("hpp_step tests", {
  expect_error(
    plothpp_step(events = NULL),
    "No events provided"
  )
  expect_error(
    plothpp_step(events = 0),
    "No events provided"
  )
})

Try the ppdiag package in your browser

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

ppdiag documentation built on Aug. 12, 2021, 5:07 p.m.