tests/testthat/test_tp_to_sac.R

test_that("basic sac generation works", {
  sac = tp_to_sac(t = 1:3, h = 2:4)
  expect_s3_class(sac,"sac")
})

Try the admtools package in your browser

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

admtools documentation built on Oct. 4, 2024, 1:09 a.m.