tests/testthat/test-449.R

rxodeTest({
  test_that("RxODE produces an error instead of crashing for bad model types", {
    expect_error(rxSolve(list(a=3), events=et(0)))
  })
})

Try the RxODE package in your browser

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

RxODE documentation built on March 23, 2022, 9:06 a.m.