tests/testthat/test-longitudinal.R

test_that("longitudinal()", {

  f <- .longitudinal("input={pkadd__err, prop__err, pdadd__err}
file='pk.turnover.emax3-monolix.txt'")

  expect_equal(f$input, c("pkadd__err", "prop__err", "pdadd__err"))
  expect_equal(f$file, "pk.turnover.emax3-monolix.txt")
  expect_true(inherits(f, "monolix2rxLongitudinal"))

  expect_snapshot(print(f))
  expect_error(as.list(f), NA)

})

Try the monolix2rx package in your browser

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

monolix2rx documentation built on April 4, 2025, 3:54 a.m.