tests/testthat/test-mselect.R

library(drc)
ryegrass_mod <- drm(rootl ~ conc, data = ryegrass, fct = LL.4())

test_that("mselect() fork gives the same output as the original", {
  expect_equal(
    .mselect(ryegrass_mod, list(LL.3(), W2.4(), baro5())),
    mselect(ryegrass_mod, list(LL.3(), W2.4(), baro5()))
  )
})

Try the envalysis package in your browser

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

envalysis documentation built on Sept. 20, 2023, 5:07 p.m.