tests/testthat/test-golden_master.R

test_that("golden_master works", {
  withr::with_seed(12345, {
    expect_snapshot(x = {
      source("golden_master.R")
    })
  })
})

Try the recforest package in your browser

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

recforest documentation built on April 12, 2025, 9:17 a.m.