tests/testthat/test-rxode-issue-008.R

if (!.Call(`_rxode2_isIntel`)) {
  test_that("Assign statement", {
    expect_error(capture.output(rxode2({
      x <- max(x, 0)
      d / dt(x) <- x - a * y
      d / dt(y) <- b * x - 2 * y
    })))
  })
}

Try the rxode2 package in your browser

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

rxode2 documentation built on Oct. 30, 2024, 9:06 a.m.