tests/testthat/test-multiPDF_cont.R

test_that("lognormal error when negative", {
  set.seed(123)
  t <- data.frame(x = rnorm(10, 0, 1))
  expect_error(multiPDF_cont(t$x))
})

Try the ztils package in your browser

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

ztils documentation built on April 11, 2025, 5:52 p.m.