tests/testthat/test-set_options.R

test_that("set_options works", {
    wmin = 0.12
    set_options(season = list(wmin = 0.12))
    expect_equal(get_options("season")$wmin, wmin)
})
eco-hydro/phenofit documentation built on Feb. 8, 2025, 4:22 p.m.