Running ‘testthat.R’ [123s/142s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(basksim)
  > 
  > test_check("basksim")
  Saving _problems/test-get_details-31.R
  Saving _problems/test-get_details-109.R
  Saving _problems/test-get_evaluation-6.R
  Saving _problems/test-get_evaluation-10.R
  Saving _problems/test-get_evaluation-28.R
  Saving _problems/test-get_evaluation-32.R
  [ FAIL 6 | WARN 0 | SKIP 13 | PASS 228 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (13): 'test-adjust_lambda.R:15:3', 'test-adjust_lambda.R:73:3',
    'test-adjust_lambda.R:119:3', 'test-get_details.R:11:3',
    'test-get_details.R:203:3', 'test-get_details.R:234:5',
    'test-get_details.R:297:3', 'test-get_details.R:335:3',
    'test-get_details.R:383:3', 'test-get_details.R:420:3',
    'test-get_details.R:460:3', 'test-get_details.R:486:3',
    'test-opt_design.R:19:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_details.R:30:3'): get_details works for bhm ────────────────
  Error in `est[, 1]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. ├─basksim::get_details(...) at test-get_details.R:30:3
   2. └─basksim:::get_details.bhm(...)
   3.   └─base::unname(est[, 1])
  ── Error ('test-get_details.R:108:3'): get_details works for exnex ─────────────
  Error in `est[, 1]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. ├─basksim::get_details(...) at test-get_details.R:108:3
   2. └─basksim:::get_details.exnex(...)
   3.   └─base::unname(est[, 1])
  ── Failure ('test-get_evaluation.R:5:3'): get_evaluation works for bhm ─────────
  Expected `get_evaluation(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    incorrect number of dimensions
  ── Failure ('test-get_evaluation.R:9:3'): get_evaluation works for bhm ─────────
  Expected `get_evaluation(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    incorrect number of dimensions
  ── Failure ('test-get_evaluation.R:27:3'): get_evaluation works for exnex ──────
  Expected `get_evaluation(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    incorrect number of dimensions
  ── Failure ('test-get_evaluation.R:31:3'): get_evaluation works for exnex ──────
  Expected `get_evaluation(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    incorrect number of dimensions
  
  [ FAIL 6 | WARN 0 | SKIP 13 | PASS 228 ]
  Error:
  ! Test failures.
  Execution halted