Running ‘testthat.R’ [4s/4s]
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(ravecore)
  > 
  > test_check("ravecore")
  Saving _problems/test-math-collapse_arrays-61.R
  [ FAIL 1 | WARN 0 | SKIP 19 | PASS 78 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-class008-LFP_electrode.R:3:3',
    'test-class008-LFP_reference.R:3:3', 'test-class008-LFP_reference.R:62:3',
    'test-class009-Auxiliary_channel.R:3:3', 'test-class011-YAEL_process.R:21:3',
    'test-class100-base_repository.R:147:3',
    'test-class101-epoched_repository.R:264:3',
    'test-class103-epoched_voltage.R:421:3',
    'test-class103-epoched_voltage.R:498:3',
    'test-class103-epoched_voltage.R:587:3',
    'test-class103-epoched_voltage.R:660:3',
    'test-class104-epoched_time-frequency.R:510:3',
    'test-class104-epoched_time-frequency.R:599:3',
    'test-class104-epoched_time-frequency.R:689:3',
    'test-class104-epoched_time-frequency.R:783:3',
    'test-class104-epoched_time-frequency.R:881:3',
    'test-class104-epoched_time-frequency.R:977:3',
    'test-class112-recording_blocks_voltage.R:372:3',
    'test-class112-recording_blocks_voltage.R:492:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-math-collapse_arrays.R:61:3'): collapse_power ──────────────────
  <getvarError/missingArgError/error/condition>
  Error in `fa_subset1(x, , ..., drop = drop, reshape = reshape, strict = strict, dimnames = dimnames, split_dim = split_dim)`: argument "tmp" is missing, with no default
  Backtrace:
      ▆
   1. ├─ravecore::collapse_power(x[], analysis_index_cubes) at test-math-collapse_arrays.R:61:3
   2. ├─x[]
   3. └─filearray:::`[.FileArray`(x, )
   4.   └─filearray:::fa_subset1(...)
  
  [ FAIL 1 | WARN 0 | SKIP 19 | PASS 78 ]
  Error:
  ! Test failures.
  Execution halted