* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/nlmixr2lib.Rcheck’ * using R Under development (unstable) (2026-01-16 r89305) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘nlmixr2lib/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘nlmixr2lib’ version ‘0.3.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘qs’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘nlmixr2lib’ can be installed ... [16s/21s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [28s/33s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘nlmixr2lib-Ex.R’ failed The error most likely occurred in: > ### Name: addBaseline1exp > ### Title: Add baseline that decays exponential with time > ### Aliases: addBaseline1exp > > ### ** Examples > > readModelDb("PK_2cmt_no_depot") |> + addDirectLin() |> + convertQuad() |> + addBaseline1exp() Error: 'ui' needs to be a rxUi model Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [79s/82s] [80s/83s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(nlmixr2lib) > > test_check("nlmixr2lib") Saving _problems/test-addBaseline-15.R Saving _problems/test-addBaseline-34.R Saving _problems/test-addBaseline-51.R Saving _problems/test-addBaseline-68.R Saving _problems/test-addDepot-4.R Saving _problems/test-addDepot-37.R Saving _problems/test-addDirectLin-15.R Saving _problems/test-addEffectCmt-24.R Saving _problems/test-addIndirect-14.R Saving _problems/test-addIndirect-17.R Saving _problems/test-addIndirect-20.R Saving _problems/test-addIndirect-23.R Saving _problems/test-addIndirect-26.R Saving _problems/test-addIndirect-29.R Saving _problems/test-addIndirect-14.R Saving _problems/test-addIndirect-17.R Saving _problems/test-addIndirect-20.R Saving _problems/test-addIndirect-23.R Saving _problems/test-addIndirect-26.R Saving _problems/test-addIndirect-29.R Saving _problems/test-addIndirect-14.R Saving _problems/test-addIndirect-17.R Saving _problems/test-addIndirect-20.R Saving _problems/test-addIndirect-23.R Saving _problems/test-addIndirect-26.R Saving _problems/test-addIndirect-29.R Saving _problems/test-addIndirect-14.R Saving _problems/test-addIndirect-17.R Saving _problems/test-addIndirect-20.R Saving _problems/test-addIndirect-23.R Saving _problems/test-addIndirect-26.R Saving _problems/test-addIndirect-29.R Saving _problems/test-addIndirect-14.R Saving _problems/test-addIndirect-17.R Saving _problems/test-addIndirect-20.R Saving _problems/test-addIndirect-23.R Saving _problems/test-addIndirect-26.R Saving _problems/test-addIndirect-29.R Saving _problems/test-addIndirect-14.R Saving _problems/test-addIndirect-17.R Saving _problems/test-addIndirect-20.R Saving _problems/test-addIndirect-23.R Saving _problems/test-addIndirect-26.R Saving _problems/test-addIndirect-29.R Saving _problems/test-addTransit-2.R Saving _problems/test-addTransit-18.R Saving _problems/test-addTransit-28.R Saving _problems/test-addTransit-40.R Saving _problems/test-addWeibullAbs-46.R i add covariate `k` ! remove population parameter `uR0` i add covariate `R` Saving _problems/test-convertLogLin-5.R Saving _problems/test-convertQuad-5.R Saving _problems/test-removeDepot-7.R Saving _problems/test-removeTransit-5.R Saving _problems/test-removeTransit-13.R Saving _problems/test-removeTransit-21.R Saving _problems/test-removeTransit-28.R Saving _problems/test-transPk-4.R Saving _problems/test-transPk-27.R Saving _problems/test-transPk-46.R Saving _problems/test-transPk-61.R Saving _problems/test-transPk-82.R [ FAIL 61 | WARN 0 | SKIP 22 | PASS 156 ] ══ Skipped tests (22) ══════════════════════════════════════════════════════════ • {qs} is not installed. (22): 'test-addEta.R:2:3', 'test-addEta.R:101:3', 'test-addEta.R:120:3', 'test-addEta.R:151:3', 'test-addEta.R:170:3', 'test-addEta.R:178:3', 'test-addProp.R:17:1', 'test-addResErr.R:3:3', 'test-addResErr.R:56:3', 'test-addResErr.R:65:3', 'test-addResErr.R:84:3', 'test-addResErr.R:103:3', 'test-addResErr.R:128:3', 'test-addWeibullAbs.R:4:3', 'test-addWeibullAbs.R:28:3', 'test-readModelDb.R:2:3', 'test-removeDepot.R:11:3', 'test-removeDepot.R:22:3', 'test-removeDepot.R:31:3', 'test-removeDepot.R:38:3', 'test-searchReplace.R:2:3', 'test-updateOncologyXenograftSimeoni2004.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-addBaseline.R:15:3'): Test addBaselineConst function ─────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addDirectLin(readModelDb("PK_2cmt_no_depot")) at test-addBaseline.R:15:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addBaseline.R:34:3'): Test addBaselineExp function ───────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addDirectLin(readModelDb("PK_3cmt")) at test-addBaseline.R:34:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addBaseline.R:51:3'): Test addBaseline1exp function ──────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addDirectLin(readModelDb("PK_2cmt")) at test-addBaseline.R:51:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addBaseline.R:68:3'): Test addBaselineLin function ───────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addDirectLin(readModelDb("PK_1cmt")) at test-addBaseline.R:68:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addDepot.R:2:3'): addDepot adds depot ────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─base::suppressMessages(model <- removeDepot(readModelDb("PK_1cmt_des"))) at test-addDepot.R:2:3 2. │ └─base::withCallingHandlers(...) 3. └─nlmixr2lib::removeDepot(readModelDb("PK_1cmt_des")) 4. └─rxode2::assertRxUi(ui) ── Error ('test-addDepot.R:35:3'): addDepot adds other than default agruments ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─base::suppressMessages(model <- removeDepot(readModelDb("PK_1cmt_des"))) at test-addDepot.R:35:3 2. │ └─base::withCallingHandlers(...) 3. └─nlmixr2lib::removeDepot(readModelDb("PK_1cmt_des")) 4. └─rxode2::assertRxUi(ui) ── Error ('test-addDirectLin.R:14:3'): direct linear function creation ───────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addDirectLin(readModelDb("PK_3cmt_des")) at test-addDirectLin.R:14:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addEffectCmt.R:23:3'): Test addEffectCmtLin ──────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addEffectCmtLin(readModelDb("PK_3cmt_des")) at test-addEffectCmt.R:23:3 2. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:14:7'): addIndirectLin: PK_1cmt_des; stim=in ─── Expected `addIndirectLin(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:14:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), stim = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:17:7'): addIndirectLin: PK_1cmt_des; inhib=in ── Expected `addIndirectLin(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:17:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), inhib = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:20:7'): addIndirect: PK_1cmt_des; stim=in ────── Expected `addIndirect(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:20:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:23:7'): addIndirect: PK_1cmt_des; inhib=in ───── Expected `addIndirect(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:23:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:26:7'): addIndirect: PK_1cmt_des; stim=in, hill ── Expected `addIndirect(readModelDb(m), stim = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:26:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:29:7'): addIndirect: PK_1cmt_des; inhib=in, hill ── Expected `addIndirect(readModelDb(m), inhib = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:29:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:14:7'): addIndirectLin: PK_2cmt_des; stim=in ─── Expected `addIndirectLin(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:14:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), stim = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:17:7'): addIndirectLin: PK_2cmt_des; inhib=in ── Expected `addIndirectLin(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:17:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), inhib = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:20:7'): addIndirect: PK_2cmt_des; stim=in ────── Expected `addIndirect(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:20:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:23:7'): addIndirect: PK_2cmt_des; inhib=in ───── Expected `addIndirect(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:23:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:26:7'): addIndirect: PK_2cmt_des; stim=in, hill ── Expected `addIndirect(readModelDb(m), stim = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:26:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:29:7'): addIndirect: PK_2cmt_des; inhib=in, hill ── Expected `addIndirect(readModelDb(m), inhib = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:29:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:14:7'): addIndirectLin: PK_3cmt_des; stim=in ─── Expected `addIndirectLin(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:14:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), stim = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:17:7'): addIndirectLin: PK_3cmt_des; inhib=in ── Expected `addIndirectLin(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:17:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), inhib = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:20:7'): addIndirect: PK_3cmt_des; stim=in ────── Expected `addIndirect(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:20:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:23:7'): addIndirect: PK_3cmt_des; inhib=in ───── Expected `addIndirect(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:23:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:26:7'): addIndirect: PK_3cmt_des; stim=in, hill ── Expected `addIndirect(readModelDb(m), stim = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:26:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:29:7'): addIndirect: PK_3cmt_des; inhib=in, hill ── Expected `addIndirect(readModelDb(m), inhib = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:29:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:14:7'): addIndirectLin: PK_1cmt_des; stim=out ── Expected `addIndirectLin(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:14:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), stim = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:17:7'): addIndirectLin: PK_1cmt_des; inhib=out ── Expected `addIndirectLin(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:17:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), inhib = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:20:7'): addIndirect: PK_1cmt_des; stim=out ───── Expected `addIndirect(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:20:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:23:7'): addIndirect: PK_1cmt_des; inhib=out ──── Expected `addIndirect(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:23:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:26:7'): addIndirect: PK_1cmt_des; stim=out, hill ── Expected `addIndirect(readModelDb(m), stim = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:26:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:29:7'): addIndirect: PK_1cmt_des; inhib=out, hill ── Expected `addIndirect(readModelDb(m), inhib = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:29:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:14:7'): addIndirectLin: PK_2cmt_des; stim=out ── Expected `addIndirectLin(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:14:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), stim = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:17:7'): addIndirectLin: PK_2cmt_des; inhib=out ── Expected `addIndirectLin(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:17:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), inhib = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:20:7'): addIndirect: PK_2cmt_des; stim=out ───── Expected `addIndirect(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:20:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:23:7'): addIndirect: PK_2cmt_des; inhib=out ──── Expected `addIndirect(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:23:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:26:7'): addIndirect: PK_2cmt_des; stim=out, hill ── Expected `addIndirect(readModelDb(m), stim = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:26:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:29:7'): addIndirect: PK_2cmt_des; inhib=out, hill ── Expected `addIndirect(readModelDb(m), inhib = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:29:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:14:7'): addIndirectLin: PK_3cmt_des; stim=out ── Expected `addIndirectLin(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:14:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), stim = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:17:7'): addIndirectLin: PK_3cmt_des; inhib=out ── Expected `addIndirectLin(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:17:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirectLin(readModelDb(m), inhib = v) 8. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:20:7'): addIndirect: PK_3cmt_des; stim=out ───── Expected `addIndirect(readModelDb(m), stim = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:20:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:23:7'): addIndirect: PK_3cmt_des; inhib=out ──── Expected `addIndirect(readModelDb(m), inhib = v)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:23:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:26:7'): addIndirect: PK_3cmt_des; stim=out, hill ── Expected `addIndirect(readModelDb(m), stim = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:26:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), stim = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Failure ('test-addIndirect.R:29:7'): addIndirect: PK_3cmt_des; inhib=out, hill ── Expected `addIndirect(readModelDb(m), inhib = v, hill = TRUE)` not to throw any errors. Actually got a with message: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addIndirect.R:29:7 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addIndirect(readModelDb(m), inhib = v, hill = TRUE) 8. └─nlmixr2lib::addIndirectLin(...) 9. └─rxode2::assertRxUi(ui) ── Error ('test-addTransit.R:2:3'): addTransit adds transit compartment ──────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addTransit(readModelDb("PK_1cmt_des"), 3) at test-addTransit.R:2:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addTransit.R:18:3'): addTransit throws an error with invalid 'central' ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-addTransit.R:18:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addTransit(...) 8. └─rxode2::assertRxUi(ui) ── Error ('test-addTransit.R:28:3'): addTransit adds transit compartments correctly with 'depot' ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addTransit(readModelDb("PK_1cmt_des"), 3) at test-addTransit.R:28:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-addTransit.R:40:3'): addTransit does not add transit compartments without 'depot' ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-addTransit.R:40:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::addTransit(readModelDb("PK_2cmt_no_depot"), 1) 8. └─rxode2::assertRxUi(ui) ── Error ('test-addWeibullAbs.R:46:3'): Test addWeibullAbs function removes transit ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─rxode2::rxode2(readModelDb("PK_1cmt_des")) %>% addTransit(3) at test-addWeibullAbs.R:46:3 2. └─nlmixr2lib::addTransit(., 3) 3. └─rxode2::assertRxUi(ui) ── Error ('test-convertLogLin.R:3:4'): convertLogLin ─────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::convertLogLin(addDirectLin(readModelDb("PK_2cmt_no_depot"))) at test-convertLogLin.R:3:4 2. └─rxode2::assertRxUi(ui) ── Error ('test-convertQuad.R:3:4'): convertQuad ─────────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::convertQuad(...) at test-convertQuad.R:3:4 2. └─rxode2::assertRxUi(ui) ── Error ('test-removeDepot.R:7:3'): removeDepot throws error in model with invalid central compartment ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-removeDepot.R:7:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::removeDepot(readModelDb("PK_1cmt_des"), "cent", "depot") 8. └─rxode2::assertRxUi(ui) ── Error ('test-removeTransit.R:5:3'): removeTransit removes transit compartment ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addTransit(readModelDb("PK_1cmt_des"), 1) at test-removeTransit.R:5:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-removeTransit.R:13:3'): removeTransit removes ktr in model block ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addTransit(readModelDb("PK_1cmt_des"), 1) at test-removeTransit.R:13:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-removeTransit.R:21:3'): removeTransit modifies ODE for central compartment ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addTransit(readModelDb("PK_1cmt_des"), 1) at test-removeTransit.R:21:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-removeTransit.R:28:3'): removeTransit removes lktr in ini block ── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::addTransit(readModelDb("PK_1cmt_des"), 1) at test-removeTransit.R:28:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-transPk.R:3:3'): transPk -- k ────────────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::pkTrans(readModelDb("PK_3cmt_des"), "k") at test-transPk.R:3:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-transPk.R:25:3'): transPk -- vss ─────────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-transPk.R:25:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::pkTrans(readModelDb("PK_3cmt_des"), "vss") 8. └─rxode2::assertRxUi(ui) ── Error ('test-transPk.R:44:3'): transPk -- aob ─────────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-transPk.R:44:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nlmixr2lib::pkTrans(readModelDb("PK_3cmt_des"), "aob") 8. └─rxode2::assertRxUi(ui) ── Error ('test-transPk.R:60:3'): transPk --k21 ──────────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::pkTrans(readModelDb("PK_3cmt_des"), "k21") at test-transPk.R:60:3 2. └─rxode2::assertRxUi(ui) ── Error ('test-transPk.R:81:3'): transPk -- alpha ───────────────────────────── Error: 'ui' needs to be a rxUi model Backtrace: ▆ 1. └─nlmixr2lib::pkTrans(readModelDb("PK_3cmt_des"), "alpha") at test-transPk.R:81:3 2. └─rxode2::assertRxUi(ui) [ FAIL 61 | WARN 0 | SKIP 22 | PASS 156 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/nlmixr2lib.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:30.62, 217.42 + 16.10