* using log directory 'd:/RCompile/CRANincoming/R-devel/nlmixr2plot.Rcheck' * using R Under development (unstable) (2025-06-22 r88341 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 'nlmixr2plot/DESCRIPTION' ... OK * this is package 'nlmixr2plot' version '3.0.2' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [12s] OK * checking package namespace information ... OK * checking package dependencies ... OK * 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 serialization versions ... OK * checking whether package 'nlmixr2plot' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [12s] 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 examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [115s] ERROR Running 'testthat.R' [115s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(nlmixr2plot) > > test_check("nlmixr2plot") > loading into symengine environment... > pruning branches (`if`/`else`) of saem model... v done > finding duplicate expressions in saem model... [====|====|====|====|====|====|====|====|====|====] 0:00:00 v done using C compiler: 'gcc.exe (GCC) 14.2.0' i calculate uninformed etas i done rxode2 3.0.4 using 2 threads (see ?getRxThreads) no cache: create with `rxCreateCache()` Calculating covariance matrix [====|====|====|====|====|====|====|====|====|====] 0:00:00 > loading into symengine environment... > pruning branches (`if`/`else`) of saem model... v done > finding duplicate expressions in saem predOnly model 0... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > finding duplicate expressions in saem predOnly model 1... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > finding duplicate expressions in saem predOnly model 2... [====|====|====|====|====|====|====|====|====|====] 0:00:00 > optimizing duplicate expressions in saem predOnly model 2... [====|====|====|====|====|====|====|====|====|====] 0:00:00 v done using C compiler: 'gcc.exe (GCC) 14.2.0' > Calculating residuals/tables v done > compress origData in nlmixr2 object, save 14912 > compress phiM in nlmixr2 object, save 1224 > compress parHistData in nlmixr2 object, save 2096 > compress saem0 in nlmixr2 object, save 30664 using C compiler: 'gcc.exe (GCC) 14.2.0' using C compiler: 'gcc.exe (GCC) 14.2.0' Prediction-correction cannot be used together with censored data (ULOQ). VPC plot will be shown for non-censored data only! Prediction-correction cannot be used together with censored data (ULOQ). VPC plot will be shown for non-censored data only! Prediction-correction cannot be used together with censored data (ULOQ). VPC plot will be shown for non-censored data only! Prediction-correction cannot be used together with censored data (ULOQ). VPC plot will be shown for non-censored data only! using C compiler: 'gcc.exe (GCC) 14.2.0' [ FAIL 1 | WARN 3 | SKIP 2 | PASS 30 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-plots-cens.R:2:3', 'test-plots-multiple-endpoints.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-add.R:41:3'): test addition operator ─────────────────────────── Error in `as.environment(where)`: no item called "add_gg" on the search list Backtrace: ▆ 1. └─nlmixr2plot:::`+.nlmixr2PlotList`(pl, ggplot2::xlab("cool")) at test-add.R:41:3 2. ├─stats::setNames(...) 3. └─base::lapply(...) 4. └─nlmixr2plot (local) FUN(X[[i]], ...) 5. └─nlmixr2plot:::.add_gg(x[[i]], y) 6. └─base::exists(.ns, "add_gg") [ FAIL 1 | WARN 3 | SKIP 2 | PASS 30 ] Error: Test failures Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR