tests/testthat/test-readModelDb.R

test_that("readModelDb", {
  expect_error(
    readModelDb("foo"),
    regexp = "'name' not in database"
  )
  expect_true(is.function(readModelDb("PK_1cmt")))
  expect_message(
    readModelDb("oncology_xenograft_simeoni_2004"),
    "You can modify the number of damaged cell compartments"
  )
})

Try the nlmixr2lib package in your browser

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

nlmixr2lib documentation built on Oct. 7, 2024, 5:08 p.m.