tests/testthat/test-utils_deprecate.R

targets::tar_test("tar_deprecate_jags_seed()", {
  expect_silent(tar_deprecate_jags_seed(NULL))
  expect_warning(
    tar_deprecate_jags_seed(0L),
    class = "tar_condition_deprecate"
  )
})

Try the jagstargets package in your browser

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

jagstargets documentation built on Sept. 11, 2024, 6:21 p.m.