Running ‘testthat.R’ [12s/18s]
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(eyeris)
  
  eyeris v3.0.1 - Lumpy Space Princess ꒰•ᴗ•｡꒱۶
  Welcome! Type ?`eyeris` to get started.
  
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  > 
  > test_check("eyeris")
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-chunked-processing-142.R
  v [2026-05-16 16:22:23] [OKAY] Running eyeris::load_asc()
  i [2026-05-16 16:22:24] [INFO] Processing block: block_1
  v [2026-05-16 16:22:24] [OKAY] Running eyeris::deblink() for block_1
  v [2026-05-16 16:22:24] [OKAY] Running eyeris::detransient() for block_1
  v [2026-05-16 16:22:24] [OKAY] Running eyeris::interpolate() for block_1
  v [2026-05-16 16:22:24] [OKAY] Running eyeris::lpfilt() for block_1
  ! [2026-05-16 16:22:24] [WARN] Skipping eyeris::downsample() for block_1
  ! [2026-05-16 16:22:25] [WARN] Skipping eyeris::bin() for block_1
  ! [2026-05-16 16:22:25] [WARN] Skipping eyeris::detrend() for block_1
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::zscore() for block_1
  i [2026-05-16 16:22:25] [INFO] Block processing summary:
  i [2026-05-16 16:22:25] [INFO] block_1: OK (steps: 6, latest:
  pupil_raw_deblink_detransient_interpolate_lpfilt_z)
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::summarize_confounds()
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parallel-database-21.R
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::load_asc()
  i [2026-05-16 16:22:25] [INFO] Processing block: block_1
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::deblink() for block_1
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::detransient() for block_1
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::interpolate() for block_1
  v [2026-05-16 16:22:25] [OKAY] Running eyeris::lpfilt() for block_1
  ! [2026-05-16 16:22:26] [WARN] Skipping eyeris::downsample() for block_1
  ! [2026-05-16 16:22:26] [WARN] Skipping eyeris::bin() for block_1
  ! [2026-05-16 16:22:26] [WARN] Skipping eyeris::detrend() for block_1
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::zscore() for block_1
  i [2026-05-16 16:22:26] [INFO] Block processing summary:
  i [2026-05-16 16:22:26] [INFO] block_1: OK (steps: 6, latest:
  pupil_raw_deblink_detransient_interpolate_lpfilt_z)
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::summarize_confounds()
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parallel-database-42.R
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::load_asc()
  i [2026-05-16 16:22:26] [INFO] Processing block: block_1
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::deblink() for block_1
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::detransient() for block_1
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::interpolate() for block_1
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::lpfilt() for block_1
  ! [2026-05-16 16:22:26] [WARN] Skipping eyeris::downsample() for block_1
  ! [2026-05-16 16:22:26] [WARN] Skipping eyeris::bin() for block_1
  ! [2026-05-16 16:22:26] [WARN] Skipping eyeris::detrend() for block_1
  v [2026-05-16 16:22:26] [OKAY] Running eyeris::zscore() for block_1
  i [2026-05-16 16:22:26] [INFO] Block processing summary:
  i [2026-05-16 16:22:27] [INFO] block_1: OK (steps: 6, latest:
  pupil_raw_deblink_detransient_interpolate_lpfilt_z)
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::summarize_confounds()
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parallel-database-62.R
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::load_asc()
  i [2026-05-16 16:22:27] [INFO] Processing block: block_1
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::deblink() for block_1
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::detransient() for block_1
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::interpolate() for block_1
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::lpfilt() for block_1
  ! [2026-05-16 16:22:27] [WARN] Skipping eyeris::downsample() for block_1
  ! [2026-05-16 16:22:27] [WARN] Skipping eyeris::bin() for block_1
  ! [2026-05-16 16:22:27] [WARN] Skipping eyeris::detrend() for block_1
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::zscore() for block_1
  i [2026-05-16 16:22:27] [INFO] Block processing summary:
  i [2026-05-16 16:22:27] [INFO] block_1: OK (steps: 6, latest:
  pupil_raw_deblink_detransient_interpolate_lpfilt_z)
  v [2026-05-16 16:22:27] [OKAY] Running eyeris::summarize_confounds()
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parallel-database-82.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parallel-database-91.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parallel-database-111.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parquet-split-15.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parquet-split-100.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parquet-split-171.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parquet-split-231.R
  ** DuckDB not found. Database features are disabled.
  
  => To install DuckDB:
    - macOS: install.packages('duckdb', type = 'binary')
    - Linux: use system packages (e.g., `sudo apt-get install r-cran-duckdb`)
             or install.packages('duckdb') if binaries are available
    - Windows: install.packages('duckdb')
  
  Once installed, restart R and reload eyeris to enable database storage
  (bidsify(..., db_enabled = TRUE) and eyeris_db_* functions).
  
  Saving _problems/test-parquet-split-283.R
  v [2026-05-16 16:22:29] [OKAY] Running eyeris::load_asc()
  i [2026-05-16 16:22:30] [INFO] Processing block: block_1
  v [2026-05-16 16:22:30] [OKAY] Running eyeris::deblink() for block_1
  v [2026-05-16 16:22:30] [OKAY] Running eyeris::detransient() for block_1
  v [2026-05-16 16:22:30] [OKAY] Running eyeris::interpolate() for block_1
  v [2026-05-16 16:22:30] [OKAY] Running eyeris::lpfilt() for block_1
  ! [2026-05-16 16:22:30] [WARN] Skipping eyeris::downsample() for block_1
  ! [2026-05-16 16:22:30] [WARN] Skipping eyeris::bin() for block_1
  ! [2026-05-16 16:22:30] [WARN] Skipping eyeris::detrend() for block_1
  v [2026-05-16 16:22:30] [OKAY] Running eyeris::zscore() for block_1
  i [2026-05-16 16:22:30] [INFO] Block processing summary:
  i [2026-05-16 16:22:30] [INFO] block_1: OK (steps: 6, latest:
  pupil_raw_deblink_detransient_interpolate_lpfilt_z)
  v [2026-05-16 16:22:30] [OKAY] Running eyeris::summarize_confounds()
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::load_asc()
  i [2026-05-16 16:22:33] [INFO] Binocular data detected. Processing average
  mode.
  i [2026-05-16 16:22:33] [INFO] Processing block: block_1
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::deblink() for block_1
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::detransient() for block_1
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::interpolate() for block_1
  ! [2026-05-16 16:22:33] [WARN] No NAs detected in pupil data... Skipping
  interpolation!
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::lpfilt() for block_1
  ! [2026-05-16 16:22:33] [WARN] Skipping eyeris::downsample() for block_1
  ! [2026-05-16 16:22:33] [WARN] Skipping eyeris::bin() for block_1
  ! [2026-05-16 16:22:33] [WARN] Skipping eyeris::detrend() for block_1
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::zscore() for block_1
  i [2026-05-16 16:22:33] [INFO] Block processing summary:
  i [2026-05-16 16:22:33] [INFO] block_1: OK (steps: 6, latest:
  pupil_raw_deblink_detransient_interpolate_lpfilt_z)
  v [2026-05-16 16:22:33] [OKAY] Running eyeris::summarize_confounds()
  [ FAIL 12 | WARN 0 | SKIP 6 | PASS 33 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • {duckdb} is not installed (1): 'test-database.R:1:1'
  • {duckdb} is not installed. (5): 'test-chunked-processing.R:3:3',
    'test-chunked-processing.R:107:3', 'test-chunked-processing.R:159:3',
    'test-chunked-processing.R:208:3', 'test-chunked-processing.R:340:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-chunked-processing.R:136:3'): eyeris_db_to_chunked_files validates inputs correctly ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-chunked-processing.R:136:3
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─eyeris::eyeris_db_to_chunked_files(...)
   8.   └─eyeris:::log_error(...)
  ── Failure ('test-parallel-database.R:9:5'): manual parallel processing flag enables temporary databases ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. ├─withr::with_envvar(...) at test-parallel-database.R:4:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(...) at test-parallel-database.R:9:5
  ── Failure ('test-parallel-database.R:31:5'): SLURM environment variables are detected for parallel processing ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. ├─withr::with_envvar(...) at test-parallel-database.R:28:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(...) at test-parallel-database.R:31:5
  ── Failure ('test-parallel-database.R:51:5'): PBS environment variables are detected for parallel processing ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. ├─withr::with_envvar(...) at test-parallel-database.R:48:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(...) at test-parallel-database.R:51:5
  ── Failure ('test-parallel-database.R:70:3'): normal database operation works without parallel processing ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    formal argument "verbose" matched by multiple actual arguments
  ── Error ('test-parallel-database.R:87:3'): temporary database creation works ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris:::create_temp_eyeris_database(...) at test-parallel-database.R:87:3
   2.   └─eyeris:::log_error(...)
  ── Error ('test-parallel-database.R:107:3'): temporary database merging works ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris:::create_temp_eyeris_database(...) at test-parallel-database.R:107:3
   2.   └─eyeris:::log_error(...)
  ── Error ('test-parquet-split.R:11:3'): eyeris_db_to_parquet creates correctly named files and folders ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris:::connect_eyeris_database(...) at test-parquet-split.R:11:3
   2.   └─eyeris:::log_error(...)
  ── Error ('test-parquet-split.R:96:3'): read_eyeris_parquet correctly reads back split data ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris:::connect_eyeris_database(...) at test-parquet-split.R:96:3
   2.   └─eyeris:::log_error(...)
  ── Error ('test-parquet-split.R:167:3'): eyeris_db_to_parquet handles file size constraints ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris:::connect_eyeris_database(...) at test-parquet-split.R:167:3
   2.   └─eyeris:::log_error(...)
  ── Error ('test-parquet-split.R:227:3'): eyeris_db_to_parquet handles empty database gracefully ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris:::connect_eyeris_database(...) at test-parquet-split.R:227:3
   2.   └─eyeris:::log_error(...)
  ── Error ('test-parquet-split.R:279:5'): read_eyeris_parquet works with db_name parameter ──
  Error in `log_message("EXIT", ..., verbose = TRUE, wrap = wrap, .envir = .envir)`: formal argument "verbose" matched by multiple actual arguments
  Backtrace:
      ▆
   1. └─eyeris::read_eyeris_parquet(...) at test-parquet-split.R:279:5
   2.   └─eyeris:::log_error(...)
  
  [ FAIL 12 | WARN 0 | SKIP 6 | PASS 33 ]
  Error:
  ! Test failures.
  Execution halted