tests/testthat/test-model_library.R

library(testthat)

context("Test model library")

test_that("Templates can be loaded successfully", {
  
  model <- model_suite$testing$nonmem$advan1_trans1
  expect_true(model@parameters %>% contains(Theta(index=1, name="K")))
})

Try the campsismod package in your browser

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

campsismod documentation built on July 30, 2026, 9:06 a.m.