- using R version 4.5.2 Patched (2025-11-30 r89083)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘shinyMixR/DESCRIPTION’ ... OK
- this is package ‘shinyMixR’ version ‘0.5.2’
- package encoding: UTF-8
- 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 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 ‘shinyMixR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [3s/4s] 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/26s] OK
- checking Rd files ... [0s/1s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/10s] ERROR
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # see https://github.com/rstudio/shinytest2/issues/351
> options(chromote.timeout = 120)
>
> library(testthat)
> library(shinyMixR)
Loading required package: shiny
Loading required package: ggplot2
> library(nlmixr2)
── Attaching packages ───────────────────────────────────────── nlmixr2 5.0.0 ──
✔ lotri 1.0.2 ✔ nlmixr2plot 5.0.0
✔ nlmixr2data 2.0.9 ✔ rxode2 5.0.0
✔ nlmixr2est 5.0.2 ✔ xpose.nlmixr2 0.4.1
✔ nlmixr2extra 5.0.0
── Optional Packages Loaded/Ignored ─────────────────────────── nlmixr2 5.0.0 ──
✔ shinyMixR ✖ nlmixr2lib
✔ xpose.nlmixr2 ✖ nlmixr2rpt
✖ babelmixr2 ✖ nonmem2rx
✖ ggPMX ✖ posologyr
✖ monolix2rx
── Conflicts ───────────────────────────────────────────── nlmixr2conflicts() ──
✖ rxode2::boxCox() masks nlmixr2est::boxCox()
✖ rxode2::yeoJohnson() masks nlmixr2est::yeoJohnson()
>
> test_check("shinyMixR")
Error : package "qs" needed for this function to work
Saving _problems/test-gof_plot-10.R
Saving _problems/test-update_inits-9.R
[ FAIL 2 | WARN 0 | SKIP 11 | PASS 23 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test-module_dataexplore.R:3:3', 'test-module_metadata.R:3:3',
'test-module_report.R:4:3', 'test-module_run.R:3:3',
'test-module_script.R:3:3', 'test-module_settings.R:3:3',
'test-run_nmx.R:3:3', 'test-run_shinymixr.R:3:3',
'test-shinymixr-01-model-run1.R:8:3',
'test-shinymixr-02-parameter-table.R:6:3',
'test-shinymixr-03-create-newmodel.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gof_plot.R:10:3'): gof_plot works as expected ──────────────────
Error in `seq_len(nrow(.origData))`: argument must be coercible to non-negative integer
Backtrace:
▆
1. ├─base::suppressWarnings(gof_plot(res, ptype = "all", type = "xpose")) at test-gof_plot.R:10:3
2. │ └─base::withCallingHandlers(...)
3. └─shinyMixR::gof_plot(res, ptype = "all", type = "xpose")
4. └─xpose.nlmixr2::xpose_data_nlmixr2(dfrm)
5. ├─obj$dataMergeInner
6. └─nlmixr2est:::`$.nlmixr2FitData`(obj, "dataMergeInner")
7. ├─nlmixr2est::nmObjGetData(.lst)
8. └─nlmixr2est:::nmObjGetData.dataMergeInner(.lst)
9. └─nlmixr2est:::.dataMergeStub(.obj, preferFit = FALSE)
── Error ('test-update_inits.R:9:3'): update_inits works as expected ───────────
Error: package "qs" needed for this function to work
Backtrace:
▆
1. └─shinyMixR::update_inits(...) at test-update_inits.R:9:3
2. ├─ores$ui
3. └─nlmixr2est:::`$.nlmixr2FitData`(ores, "ui")
4. └─nlmixr2est:::`$.nlmixr2FitCore`(.env, arg, exact)
5. ├─nlmixr2est::nmObjGet(.lst)
6. └─nlmixr2est:::nmObjGet.ui(.lst)
7. ├─nlmixr2est:::.cloneEnv(rxode2::rxUiDecompress(get("ui", .env)))
8. └─rxode2::rxUiDecompress(get("ui", .env))
9. └─rxode2::rxReq("qs")
[ FAIL 2 | WARN 0 | SKIP 11 | PASS 23 ]
Deleting unused snapshots: 'shinymixr-02-parameter-table/run2-model-001.json',
'shinymixr-02-parameter-table/run2-model-001_.png',
'shinymixr-02-parameter-table/run2-model-002.json',
'shinymixr-02-parameter-table/run2-model-002_.png',
'shinymixr-03-create-newmodel/run3-model-001.json',
'shinymixr-03-create-newmodel/run3-model-001_.png',
'shinymixr-03-create-newmodel/run3-model-002.json', and
'shinymixr-03-create-newmodel/run3-model-002_.png'
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s/11s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR