R Under development (unstable) (2025-12-08 r89124 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(rxode2) rxode2 5.0.1 using 2 threads (see ?getRxThreads) no cache: create with `rxCreateCache()` > library(testthat) > setRxThreads(1L) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > setDTthreads(1L) > if (!identical(Sys.getenv("NOT_CRAN"), "true") && + identical(Sys.info()["sysname"], "Darwin")) { + rxUnloadAll(set=FALSE) + } > test_check("rxode2", reporter = testthat::LocationReporter) [skip] [skip] [skip] Start test: activation functions 'test-activation.R:40:3' [success] 'test-activation.R:41:3' [success] 'test-activation.R:45:3' [success] 'test-activation.R:46:3' [success] 'test-activation.R:50:3' [success] 'test-activation.R:51:3' [success] 'test-activation.R:55:3' [success] 'test-activation.R:56:3' [success] 'test-activation.R:61:3' [success] 'test-activation.R:62:3' [success] 'test-activation.R:67:3' [success] 'test-activation.R:68:3' [success] 'test-activation.R:73:3' [success] 'test-activation.R:74:3' [success] 'test-activation.R:79:3' [success] 'test-activation.R:80:3' [success] 'test-activation.R:85:3' [success] 'test-activation.R:86:3' [success] 'test-activation.R:93:3' [success] 'test-activation.R:94:3' [success] 'test-activation.R:101:3' [success] 'test-activation.R:102:3' [success] 'test-activation.R:109:3' [success] 'test-activation.R:110:3' [success] 'test-activation.R:115:3' [success] 'test-activation.R:116:3' [success] 'test-activation.R:121:3' [success] 'test-activation.R:122:3' [success] 'test-activation.R:127:3' [success] 'test-activation.R:128:3' [success] 'test-activation.R:133:3' [success] 'test-activation.R:134:3' [success] 'test-activation.R:140:3' [success] 'test-activation.R:141:3' [success] 'test-activation.R:147:3' [success] 'test-activation.R:148:3' [success] 'test-activation.R:154:3' [success] 'test-activation.R:155:3' [success] 'test-activation.R:161:3' [success] 'test-activation.R:162:3' [success] End test: activation functions [skip] [skip] [skip] [skip] Start test: when reserved variables are assigned, parser should error rxode2 model syntax error: ================================================================================ :001: C2 <- centr/V2 :002: C3 <- peri/V3 :003: d/dt(depot) <- -KA * depot :004: d/dt(centr) <- KA * depot - CL * C2 - Q * C2 + Q * C3 :005: d/dt(peri) <- Q * C2 - Q * C3 :006: eff(0) <- 1 :007: d/dt(eff) <- Kin - Kout * (1 - C2/(EC50 + C2)) * eff :008: cannot assign protected variable 't': t <- 1 ^ ================================================================================ 'test-assignReserved.R:3:3' [success] End test: when reserved variables are assigned, parser should error [skip] [skip] [skip] [skip] [skip] Start test: cbind study and individual 'test-cbind-study-individual.R:40:3' [skip] End test: cbind study and individual [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: Demo runs successfully 'test-demo.R:4:5' [success] End test: Demo runs successfully [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: warning on translation (#780) 'test-etTrans.R:1616:3' [success] End test: warning on translation (#780) [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: multi-compartment solves 'test-lhs-ifelse.R:32:5' [success] 'test-lhs-ifelse.R:33:5' [success] 'test-lhs-ifelse.R:34:5' [success] 'test-lhs-ifelse.R:35:5' [success] End test: multi-compartment solves Start test: multi-compartment solves 'test-lhs-ifelse.R:46:5' [success] 'test-lhs-ifelse.R:47:5' [success] 'test-lhs-ifelse.R:48:5' [success] 'test-lhs-ifelse.R:49:5' [success] End test: multi-compartment solves [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: evid4 i parameter labels from comments will be replaced by 'label()' i parameter labels from comments will be replaced by 'label()' i parameter labels from comments will be replaced by 'label()' i parameter labels from comments will be replaced by 'label()' 'test-nmtest.R:438:3' [success] 'test-nmtest.R:440:3' [success] 'test-nmtest.R:442:3' [success] 'test-nmtest.R:444:3' [success] End test: evid4 [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: drop linCmt() endpoint (#355) 'test-pipeline.R:139:3' [success] 'test-pipeline.R:142:3' [success] End test: drop linCmt() endpoint (#355) Start test: Compartment should not be added to ini (rxode2#336) 'test-pipeline.R:170:3' [success] 'test-pipeline.R:171:3' [success] 'test-pipeline.R:172:3' [success] End test: Compartment should not be added to ini (rxode2#336) Start test: .getModelLineEquivalentLhsExpressionDropDdt 'test-pipeline.R:178:3' [success] 'test-pipeline.R:179:3' [success] End test: .getModelLineEquivalentLhsExpressionDropDdt Start test: .getModelLineEquivalentLhsExpressionDropEndpoint 'test-pipeline.R:187:3' [success] 'test-pipeline.R:192:3' [success] 'test-pipeline.R:196:3' [success] 'test-pipeline.R:200:3' [success] 'test-pipeline.R:204:3' [success] 'test-pipeline.R:208:3' [success] End test: .getModelLineEquivalentLhsExpressionDropEndpoint Start test: .getVariablesFromExpression 'test-pipeline.R:215:3' [success] 'test-pipeline.R:216:3' [success] 'test-pipeline.R:217:3' [success] 'test-pipeline.R:218:3' [success] 'test-pipeline.R:220:3' [success] 'test-pipeline.R:221:3' [success] 'test-pipeline.R:222:3' [success] End test: .getVariablesFromExpression Start test: .getLhs, .getRhs 'test-pipeline.R:226:3' [success] 'test-pipeline.R:227:3' [success] 'test-pipeline.R:228:3' [success] 'test-pipeline.R:229:3' [success] 'test-pipeline.R:231:3' [success] 'test-pipeline.R:232:3' [success] 'test-pipeline.R:233:3' [success] End test: .getLhs, .getRhs [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: sumProd test 'test-rxSumProd.R:6:5' [success] End test: sumProd test Start test: rxUiDeparse() 'test-rxUiDeparse.R:4:3' [success] 'test-rxUiDeparse.R:7:3' [success] End test: rxUiDeparse() [skip] [skip] [skip] Start test: Issue RxODE#7 'test-rxode-issue-007.R:14:5' [success] End test: Issue RxODE#7 Start test: Assign statement 'test-rxode-issue-008.R:3:5' [success] End test: Assign statement [skip] [skip] [skip] Start test: Make sure initial conditions work, Issue RxODE#67: baseline works 'test-rxode-issue-067.R:12:5' [success] End test: Make sure initial conditions work, Issue RxODE#67: baseline works [skip] Start test: Bioavailability doesn't impact other cmts (issue RxODE#160) 'test-rxode-issue-160.R:19:5' [success] End test: Bioavailability doesn't impact other cmts (issue RxODE#160) [skip] [skip] [skip] Start test: issue RxODE#213 doesn't drop patients, 1e+5 doesn't drop 'test-rxode-issue-213.R:27:5' [success] 'test-rxode-issue-213.R:41:5' [success] End test: issue RxODE#213 doesn't drop patients, 1e+5 doesn't drop [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: rxode2 produces an error instead of crashing for bad model types; Issue RxODE#449 'test-rxode-issue-449.R:3:5' [success] End test: rxode2 produces an error instead of crashing for bad model types; Issue RxODE#449 [skip] [skip] [skip] [skip] Start test: safeZero solving 'test-safeZero.R:14:3' [success] 'test-safeZero.R:15:3' [success] 'test-safeZero.R:16:3' [success] 'test-safeZero.R:17:3' [success] 'test-safeZero.R:21:3' [success] 'test-safeZero.R:22:3' [success] 'test-safeZero.R:23:3' [success] 'test-safeZero.R:24:3' [success] 'test-safeZero.R:28:3' [success] 'test-safeZero.R:29:3' [success] 'test-safeZero.R:30:3' [success] 'test-safeZero.R:31:3' [success] End test: safeZero solving [skip] [skip] Start test: Simulate Error, issue #670 'test-sim-err-670.R:203:3' [warning] 'test-sim-err-670.R:203:3' [success] End test: Simulate Error, issue #670 [skip] [skip] Start test: statePropDf test 'test-statePropDf.R:38:3' [success] 'test-statePropDf.R:47:3' [success] ! remove population parameter `fdepot` 'test-statePropDf.R:52:3' [success] ! remove population parameter `durDepot` 'test-statePropDf.R:57:3' [success] ! remove population parameter `rateDepot` 'test-statePropDf.R:62:3' [success] 'test-statePropDf.R:85:3' [success] End test: statePropDf test [skip] Start test: test-strncmpi 'test-strncmpi.R:2:3' [skip] End test: test-strncmpi [skip] [skip] [skip] [skip] [skip] Start test: udf type 2 (that changes ui models upon parsing) 'test-udf.R:369:3' [success] rxode2 model syntax error: ================================================================================ :001: rxode2 ui user defined R function has 2 arguments, but supplied 3: a <- linMod(x, 3, b) ^~~~~~ ================================================================================ 'test-udf.R:370:3' [success] rxode2 model syntax error: ================================================================================ :001: rxode2 ui user defined R function has 2 arguments, but supplied 1: a <- linMod(x) ^ ================================================================================ 'test-udf.R:371:3' [success] rxode2 model syntax error: ================================================================================ :001: rxode2 ui user defined R function has 2 arguments, but supplied 0: a <- linMod() ^ ================================================================================ 'test-udf.R:372:3' [success] 'test-udf.R:380:3' [success] 'test-udf.R:396:3' [success] 'test-udf.R:400:3' [success] 'test-udf.R:415:3' [success] 'test-udf.R:419:3' [success] 'test-udf.R:436:3' [success] 'test-udf.R:440:3' [success] 'test-udf.R:443:3' [success] 'test-udf.R:459:3' [success] 'test-udf.R:462:3' [success] 'test-udf.R:476:3' [success] 'test-udf.R:479:3' [success] 'test-udf.R:493:3' [success] 'test-udf.R:496:3' [success] 'test-udf.R:510:3' [success] 'test-udf.R:513:3' [success] 'test-udf.R:527:3' [success] 'test-udf.R:530:3' [success] 'test-udf.R:545:3' [success] 'test-udf.R:547:3' [success] 'test-udf.R:561:3' [success] 'test-udf.R:576:3' [success] 'test-udf.R:593:3' [success] 'test-udf.R:608:3' [success] 'test-udf.R:627:5' [success] i parameter labels from comments are typically ignored in non-interactive mode i Need to run with the source intact to parse comments 'test-udf.R:635:9' [success] End test: udf type 2 (that changes ui models upon parsing) [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] [skip] Start test: noop has identical mu-ref 'test-unary-noop.R:43:5' [success] 'test-unary-noop.R:44:5' [success] 'test-unary-noop.R:45:5' [success] 'test-unary-noop.R:46:5' [success] 'test-unary-noop.R:47:5' [success] 'test-unary-noop.R:48:5' [success] 'test-unary-noop.R:49:5' [success] 'test-unary-noop.R:50:5' [success] End test: noop has identical mu-ref Start test: .matchesLangTemplate 'test-utils.R:3:5' [success] 'test-utils.R:5:5' [success] 'test-utils.R:7:5' [success] 'test-utils.R:9:5' [success] 'test-utils.R:10:5' [success] End test: .matchesLangTemplate [skip] [skip] Start test: Cleanly unloads all dlls 'test-zzzzz.R:3:5' [skip] End test: Cleanly unloads all dlls > #test_check("rxode2") > > ## test_check("rxode2", > ## stop_on_failure = FALSE, > ## reporter = testthat::LocationReporter > ## ) > > proc.time() user system elapsed 26.10 7.68 59.54