tests/testthat/test-demo.R

if (!.Call(`_rxode2_isIntel`)) {
  test_that("Demo runs successfully", {
    skip_if_not(dir.exists(file.path(system.file(package = "rxode2"), "demo")), "demo not installed")
    expect_error(suppressWarnings({
      demo("demo1", "rxode2", ask = FALSE, echo = FALSE)
    }), NA)
  })
}
nlmixr2/rxode2 documentation built on Jan. 11, 2025, 8:48 a.m.