* using log directory 'd:/Rcompile/CRANpkg/local/4.6/babelmixr2.Rcheck' * using R Under development (unstable) (2025-10-10 r88914 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'babelmixr2/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'babelmixr2' version '0.1.9' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'lixoftConnectors' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'babelmixr2' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.2.0' * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... OK * checking package 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] OK * checking whether startup messages can be suppressed ... [3s] 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 ... [21s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [17s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [400s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [400s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(babelmixr2) > > test_check("babelmixr2") i parameter labels from comments will be replaced by 'label()' i mu2 item: Rx_pow_di(WT, 2) i writing monolix files i done i run Monolix manually and rerun nlmixr() i mu2 item: Rx_pow_di(WT, 2) i leaving alone monolix files because 'monolixTest-monolix.txt' is present > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done > finding duplicate expressions in EBE model... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > optimizing duplicate expressions in EBE model... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > compiling EBE model... using C compiler: 'gcc.exe (GCC) 14.2.0' v done > Calculating residuals/tables v done > compress origData in nlmixr2 object, save 1336 > compress parHistData in nlmixr2 object, save 1624 Error : nonmem minimization not successful > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done > calculate jacobian > calculate sensitivities > calculate d(f)/d(eta) > finding duplicate expressions in inner model... > optimizing duplicate expressions in inner model... > finding duplicate expressions in EBE model... > optimizing duplicate expressions in EBE model... > compiling inner model... using C compiler: 'gcc.exe (GCC) 14.2.0' v done > finding duplicate expressions in FD model... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > optimizing duplicate expressions in FD model... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > compiling EBE model... using C compiler: 'gcc.exe (GCC) 14.2.0' v done > compiling events FD model... using C compiler: 'gcc.exe (GCC) 14.2.0' v done [====|====|====|====|====|====|====|====|====|====] 0:00:15 > compress origData in nlmixr2 object, save 27560 Updated original fit object f warning: eig_sym(): given matrix is not symmetric > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done i writing nonmem files i done i only exported NONMEM control stream/data > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done i writing nonmem files i done > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done i mu2 item: Rx_pow_di(WT, 2) > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done i writing nonmem files i done i only exported NONMEM control stream/data i mu2 item: Rx_pow_di(WT, 2) > loading into symengine environment... > pruning branches (`if`/`else`) of full model... v done i only exported NONMEM control stream/data Error in bblDatToPknca(model = env$ui, data = rawData, rxControl = rxControl) : no dosing rows (EVID = 1 or 4) detected Error : no rows in event table or input data Error in nlmixr2Est(env, ...) : Could not detect DV assignment for unit conversion i volumeu detected from amtu and dvu as: mol*mL/ng [ FAIL 8 | WARN 6 | SKIP 9 | PASS 280 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • On CRAN (9): 'test-as-nlmixr2.R:8:3', 'test-as-nlmixr2.R:66:3', 'test-bioavil-works.R:2:3', 'test-convert.R:2:3', 'test-convert.R:35:3', 'test-convert.R:215:3', 'test-convert.R:229:3', 'test-fmeMcmc.R:4:3', 'test-psuedoOptim.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-units.R:5:3'): simplifyUnit ────────────────────────────────── simplifyUnit("", "kg") (`actual`) not equal to "1/kg" (`expected`). `actual`: "fraction/kg" `expected`: "1/kg" ── Failure ('test-units.R:7:3'): simplifyUnit ────────────────────────────────── simplifyUnit(NA, "kg") (`actual`) not equal to "1/kg" (`expected`). `actual`: "fraction/kg" `expected`: "1/kg" ── Failure ('test-units.R:9:3'): simplifyUnit ────────────────────────────────── simplifyUnit("", "kg^2") (`actual`) not equal to "1/(kg*kg)" (`expected`). `actual`: "fraction/(kg*kg)" `expected`: "1/(kg*kg)" ── Failure ('test-units.R:15:3'): simplifyUnit ───────────────────────────────── simplifyUnit(denominator = "mg") (`actual`) not equal to "1/mg" (`expected`). `actual`: "fraction/mg" `expected`: "1/mg" ── Failure ('test-units.R:74:3'): modelUnitConversion ────────────────────────── `conversion` (`actual`) not equal to list(...) (`expected`). `actual$clearanceu`: "mL/(kg*h)" `expected$clearanceu`: "mL/(h*kg)" ── Failure ('test-units.R:91:3'): modelUnitConversion ────────────────────────── `conversion` (`actual`) not equal to list(...) (`expected`). `actual$clearanceu`: "mL/(kg*h)" `expected$clearanceu`: "mL/(h*kg)" `actual$cmtu`: "mg*kg/(g*mL)" `expected$cmtu`: "kg*mg/(g*mL)" ── Failure ('test-units.R:104:3'): modelUnitConversion ───────────────────────── `... <- NULL` did not throw the expected message. ── Failure ('test-units.R:109:3'): modelUnitConversion ───────────────────────── `conversion` (`actual`) not equal to list(...) (`expected`). `actual$clearanceu`: "mol*mL/(ng*h)" `expected$clearanceu`: "mL*mol/(h*ng)" `actual$volumeu`: "mol*mL/ng" `expected$volumeu`: "mL*mol/ng" [ FAIL 8 | WARN 6 | SKIP 9 | PASS 280 ] Error: Test failures Execution halted * checking PDF version of manual ... [28s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR