tests/testthat/test-sera.R

# File: tests/testthat/test-sera.R
test_that("sera runs correctly", {

  trues <- rnorm(1:10)
  ph <- phi.control(trues)
  phi.trues <- phi(trues,ph)

  preds <- rnorm(1:10)

  result <- sera(trues,preds,phi.trues)
  expect_type(result, "double")
})

Try the IRon package in your browser

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

IRon documentation built on Nov. 5, 2025, 5:50 p.m.