Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [115s/115s]
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-10.R
  Saving _problems/test-nlmixr2-64.R
  Saving _problems/test-nlmixr2-67.R
  Saving _problems/test-nlmixr2-71.R
  Saving _problems/test-xset_diagram-4.R
  [ FAIL 5 | WARN 0 | SKIP 11 | PASS 794 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • 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'
  • {DiagrammeR} is not installed. (1): 'test-xset_diagram.R:5:3'
  • {nlmixr2est} is not installed (1): 'test-nlmixr2.R:315:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-nlmixr2.R:8:3'): old fit detection works correctly ───────────
  Expected `test_nlmixr2_is_old_fit(xpdb_nlmixr2)` to be FALSE.
  Differences:
  `actual`:   TRUE 
  `expected`: FALSE
  
  ── Failure ('test-nlmixr2.R:62:3'): nlmixr2 is compatible ──────────────────────
  Expected `nlmixr2_as_xtra(fit_example)` not to throw any errors.
  Actually got a <rlib_error_package_not_found> with message:
    The package "xpose.nlmixr2" is required.
  ── Failure ('test-nlmixr2.R:65:3'): nlmixr2 is compatible ──────────────────────
  Expected `nlmixr2_as_xtra(fit_example, .skip_assoc = TRUE)` not to throw any errors.
  Actually got a <rlib_error_package_not_found> with message:
    The package "xpose.nlmixr2" is required.
  ── Error ('test-nlmixr2.R:68:3'): nlmixr2 is compatible ────────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `nlmixr2_as_xtra(fit_example)`: The package "xpose.nlmixr2" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_failure(...) at test-nlmixr2.R:68: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.   └─rlang::check_installed("xpose.nlmixr2")
  ── Failure ('test-xset_diagram.R:2:3'): diagram gets generated ─────────────────
  Expected `diagram_lineage(pheno_set)` not to throw any errors.
  Actually got a <rlib_error_package_not_found> with message:
    The package "DiagrammeR" is required.
  
  [ FAIL 5 | WARN 0 | SKIP 11 | PASS 794 ]
  Error:
  ! Test failures.
  Execution halted