Running ‘spelling.R’
  Running ‘testthat.R’ [409s/418s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(xpose.xtras)
  ℹ xpose is not currently attached.
  
  Attaching package: 'xpose.xtras'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("xpose.xtras")
  Saving _problems/test-nlmixr2-11.R
  Saving _problems/test-nlmixr2-14.R
  Saving _problems/test-nlmixr2-18.R
  Error in loadNamespace(x) : there is no package called 'qs'
  Saving _problems/test-nlmixr2-320.R
  [ FAIL 4 | WARN 2 | SKIP 9 | PASS 792 ]
  
  ══ Skipped tests (9) ═══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-covariates.R:123:3', 'test-xplot_boxplot.R:157:3',
    'test-xplot_pairs.R:44:3', 'test-xset_features.R:170:3',
    'test-xset_features.R:170:3', 'test-xset_features.R:170:3',
    'test-xset_features.R:170:3'
  • requireNamespace("rxode2", quietly = TRUE) && "rxDerived" %in%
    getNamespaceExports("rxode2") is TRUE (2): 'test-diag_constants.R:123:3',
    'test-diag_constants.R:129:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-nlmixr2.R:9:3'): nlmixr2 is compatible ───────────────────────
  Expected `nlmixr2_as_xtra(fit_example)` not to throw any errors.
  Actually got a <rlang_error> with message:
    No `nlmixr2` fit object found.
    Caused by error in `loadNamespace()`:
    ! there is no package called 'qs'
  ── Failure ('test-nlmixr2.R:12:3'): nlmixr2 is compatible ──────────────────────
  Expected `nlmixr2_as_xtra(fit_example, .skip_assoc = TRUE)` not to throw any errors.
  Actually got a <rlang_error> with message:
    No `nlmixr2` fit object found.
    Caused by error in `loadNamespace()`:
    ! there is no package called 'qs'
  ── Error ('test-nlmixr2.R:15:3'): nlmixr2 is compatible ────────────────────────
  Error in `backfill_nlmixr2_props(.)`: No `nlmixr2` fit object found.
  Caused by error in `loadNamespace()`:
  ! there is no package called 'qs'
  Backtrace:
       ▆
    1. ├─testthat::expect_failure(...) at test-nlmixr2.R:15:3
    2. │ └─testthat:::capture_success_failure(expr)
    3. │   └─base::withCallingHandlers(...)
    4. ├─testthat::expect_identical(...)
    5. │ └─testthat::quasi_label(enquo(object), label)
    6. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    7. ├─xpose.xtras::nlmixr2_as_xtra(fit_example)
    8. │ ├─... %>% backfill_nlmixr2_props()
    9. │ └─xpose.nlmixr2::xpose_data_nlmixr2(obj = obj, ...)
   10. │   ├─obj$dataMergeInner
   11. │   └─nlmixr2est:::`$.nlmixr2FitData`(obj, "dataMergeInner")
   12. │     ├─nlmixr2est::nmObjGetData(.lst)
   13. │     └─nlmixr2est:::nmObjGetData.dataMergeInner(.lst)
   14. │       └─nlmixr2est:::.dataMergeStub(.obj, preferFit = FALSE)
   15. │         ├─obj$origData
   16. │         └─nlmixr2est:::`$.nlmixr2FitData`(obj, "origData")
   17. │           └─nlmixr2est:::`$.nlmixr2FitCore`(.env, arg, exact)
   18. │             ├─nlmixr2est::nmObjGet(.lst)
   19. │             └─nlmixr2est:::nmObjGet.default(.lst)
   20. ├─xpose.xtras::backfill_nlmixr2_props(.)
   21. │ └─xpose.xtras:::assert_nlmixr2fit(xpdb)
   22. │   ├─xpose.xtras:::xpa(...)
   23. │   │ ├─rlang::try_fetch(...)
   24. │   │ │ ├─base::tryCatch(...)
   25. │   │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   26. │   │ │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   27. │   │ │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   28. │   │ │ └─base::withCallingHandlers(...)
   29. │   │ └─rlang::exec(...)
   30. │   └─xpose.xtras::test_nlmixr2_has_fit(xpdb)
   31. │     └─xpose::check_xpdb(xpdb)
   32. │       └─xpose::is.xpdb(xpdb)
   33. ├─xpose.xtras:::mutate_files(...)
   34. │ └─xpose::check_xpdb(xpdb)
   35. │   └─xpose::is.xpdb(xpdb)
   36. ├─xpose.xtras::set_prop(., file = mod_name)
   37. │ └─xpose::get_summary(xpdb)
   38. │   └─xpose::check_xpdb(xpdb, check = "summary")
   39. │     └─xpose::is.xpdb(xpdb)
   40. ├─xpose.xtras::as_xp_xtras(.)
   41. │ └─xpose.xtras::as_xpdb_x(x)
   42. │   └─base::structure(x, class = c("xp_xtras", "uneval"))
   43. ├─xpose.xtras::attach_nlmixr2(., obj)
   44. │ └─xpose::check_xpdb(xpdb)
   45. │   └─xpose::is.xpdb(xpdb)
   46. ├─base::loadNamespace(x)
   47. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   48. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
   49. │ │   └─base (local) doWithOneRestart(return(expr), restart)
   50. │ └─base::stop(cond)
   51. └─rlang (local) `<fn>`(`<pckgNtFE>`)
   52.   └─handlers[[1L]](cnd)
   53.     └─rlang::abort(...)
  ── Error ('test-nlmixr2.R:319:5'): pure LL fits can be used ────────────────────
  Error: there is no package called 'qs'
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-nlmixr2.R:318:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─nlmixr2est::nlmixr(...) at test-nlmixr2.R:319:5
   4. └─nlmixr2est:::nlmixr2.function(...)
   5.   └─nlmixr2est:::nlmixr2Est0(.env)
  
  [ FAIL 4 | WARN 2 | SKIP 9 | PASS 792 ]
  Error:
  ! Test failures.
  Execution halted