Running ‘testthat.R’ [14s/17s]
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 4.0.1 ──
  ✔ lotri         1.0.2     ✔ nlmixr2plot   3.0.3
  ✔ nlmixr2data   2.0.9     ✔ rxode2        5.0.0
  ✔ nlmixr2est    4.1.1     ✔ xpose.nlmixr2 0.4.1
  ✔ nlmixr2extra  3.0.2     
  ── Optional Packages Loaded/Ignored ─────────────────────────── nlmixr2 4.0.1 ──
  ✔ 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")
  Saving _problems/test-update_inits-9.R
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 23 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • 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'
  • {qs} is not installed. (1): 'test-gof_plot.R:10:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── 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 1 | WARN 0 | SKIP 12 | 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