Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [140s/143s]
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")
  Error : package "qs" needed for this function to work
  Saving _problems/test-nlmixr2-11.R
  Error : package "qs" needed for this function to work
  Saving _problems/test-nlmixr2-14.R
  Error : package "qs" needed for this function to work
  Saving _problems/test-nlmixr2-18.R
  [ FAIL 3 | WARN 8 | SKIP 9 | PASS 799 ]
  
  ══ 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 `seq_len()`:
    ! argument must be coercible to non-negative integer
  ── 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 `seq_len()`:
    ! argument must be coercible to non-negative integer
  ── Error ('test-nlmixr2.R:15:3'): nlmixr2 is compatible ────────────────────────
  Error in `backfill_nlmixr2_props(.)`: No `nlmixr2` fit object found.
  Caused by error in `seq_len()`:
  ! argument must be coercible to non-negative integer
  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. ├─xpose.xtras::backfill_nlmixr2_props(.)
   16. │ └─xpose.xtras:::assert_nlmixr2fit(xpdb)
   17. │   ├─xpose.xtras:::xpa(...)
   18. │   │ ├─rlang::try_fetch(...)
   19. │   │ │ ├─base::tryCatch(...)
   20. │   │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   21. │   │ │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   22. │   │ │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   23. │   │ │ └─base::withCallingHandlers(...)
   24. │   │ └─rlang::exec(...)
   25. │   └─xpose.xtras::test_nlmixr2_has_fit(xpdb)
   26. │     └─xpose::check_xpdb(xpdb)
   27. │       └─xpose::is.xpdb(xpdb)
   28. ├─xpose.xtras:::mutate_files(...)
   29. │ └─xpose::check_xpdb(xpdb)
   30. │   └─xpose::is.xpdb(xpdb)
   31. ├─xpose.xtras::set_prop(., file = mod_name)
   32. │ └─xpose::get_summary(xpdb)
   33. │   └─xpose::check_xpdb(xpdb, check = "summary")
   34. │     └─xpose::is.xpdb(xpdb)
   35. ├─xpose.xtras::as_xp_xtras(.)
   36. │ └─xpose.xtras::as_xpdb_x(x)
   37. │   └─base::structure(x, class = c("xp_xtras", "uneval"))
   38. ├─xpose.xtras::attach_nlmixr2(., obj)
   39. │ └─xpose::check_xpdb(xpdb)
   40. │   └─xpose::is.xpdb(xpdb)
   41. └─base::.handleSimpleError(...)
   42.   └─rlang (local) h(simpleError(msg, call))
   43.     └─handlers[[1L]](cnd)
   44.       └─rlang::abort(...)
  
  [ FAIL 3 | WARN 8 | SKIP 9 | PASS 799 ]
  Error:
  ! Test failures.
  Execution halted