Running ‘testthat.R’ [140s/167s]
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) # nolint: undesirable_function_linter
  > library(admiral) # nolint: undesirable_function_linter
  > 
  > test_check("admiral")
  [ FAIL 6 | WARN 156 | SKIP 0 | PASS 632 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-call_derivation.R:29:3'): call_derivation Test 1:  Test that call_derivation generates expected summary ──
  Error in `assert_function(arg = arg, params = params)`: `arg` must be a function but is `"derive_summary_records"`
  Backtrace:
      ▆
   1. └─admiral::call_derivation(...) at test-call_derivation.R:29:2
   2.   └─admiraldev::assert_function_param(...)
   3.     └─admiraldev::assert_function(arg = arg, params = params)
   4.       └─rlang::abort(err_msg)
  ── Error ('test-call_derivation.R:80:3'): call_derivation Test 2: Test that call_derivation generates expected imputation ──
  Error in `assert_function(arg = arg, params = params)`: `arg` must be a function but is `"derive_vars_dt"`
  Backtrace:
      ▆
   1. └─admiral::call_derivation(...) at test-call_derivation.R:80:2
   2.   └─admiraldev::assert_function_param(...)
   3.     └─admiraldev::assert_function(arg = arg, params = params)
   4.       └─rlang::abort(err_msg)
  ── Error ('test-slice_derivation.R:10:3'): slice_derivation Test 1: slice derivation ──
  Error in `assert_function(arg = arg, params = params)`: `arg` must be a function but is `"derive_vars_dtm"`
  Backtrace:
      ▆
   1. └─admiral::slice_derivation(...) at test-slice_derivation.R:10:2
   2.   └─admiraldev::assert_function_param(...)
   3.     └─admiraldev::assert_function(arg = arg, params = params)
   4.       └─rlang::abort(err_msg)
  ── Error ('test-slice_derivation.R:48:3'): slice_derivation Test 2: non matching observations ──
  Error in `assert_function(arg = arg, params = params)`: `arg` must be a function but is `"derive_vars_dtm"`
  Backtrace:
      ▆
   1. └─admiral::slice_derivation(...) at test-slice_derivation.R:48:2
   2.   └─admiraldev::assert_function_param(...)
   3.     └─admiraldev::assert_function(arg = arg, params = params)
   4.       └─rlang::abort(err_msg)
  ── Error ('test-slice_derivation.R:82:3'): slice_derivation Test 3: empty slice ──
  Error in `assert_function(arg = arg, params = params)`: `arg` must be a function but is `"derive_vars_dtm"`
  Backtrace:
      ▆
   1. └─admiral::slice_derivation(...) at test-slice_derivation.R:82:2
   2.   └─admiraldev::assert_function_param(...)
   3.     └─admiraldev::assert_function(arg = arg, params = params)
   4.       └─rlang::abort(err_msg)
  ── Error ('test-slice_derivation.R:120:3'): slice_derivation Test 4: slice without arguments ──
  Error in `assert_function(arg = arg, params = params)`: `arg` must be a function but is `"derive_vars_dtm"`
  Backtrace:
      ▆
   1. └─admiral::slice_derivation(...) at test-slice_derivation.R:120:2
   2.   └─admiraldev::assert_function_param(...)
   3.     └─admiraldev::assert_function(arg = arg, params = params)
   4.       └─rlang::abort(err_msg)
  
  [ FAIL 6 | WARN 156 | SKIP 0 | PASS 632 ]
  Error: Test failures
  Execution halted