tests/testthat/helper-quiet.R

.nlmixr <- function(...) {
  rxode2::rxUnloadAll()
  suppressWarnings(suppressMessages(nlmixr(...)))
}
# Use these for faster estimation (when numeric results don't matter but having
# an estimation result matters). Leave calcTables = TRUE since that is often
# needed for the tests.
saemControlFast <- saemControl(print = 0, nBurn = 1, nEm = 1, nmc = 1, nu = c(1, 1, 1))
foceiControlFast <- foceiControl(print = 0, maxInnerIterations = 1, maxOuterIterations = 1, eval.max = 1)

Try the nlmixr2est package in your browser

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

nlmixr2est documentation built on Aug. 8, 2025, 6:09 p.m.