Skip to content

eyeris

Flexible, Extensible, & Reproducible Pupillometry Preprocessing

v3.0.1 · Oct 7, 2025 · MIT + file LICENSE

Description

Pupillometry offers a non-invasive window into the mind and has been used extensively as a psychophysiological readout of arousal signals linked with cognitive processes like attention, stress, and emotional states [Clewett et al. (2020) <doi:10.1038/s41467-020-17851-9>; Kret & Sjak-Shie (2018) <doi:10.3758/s13428-018-1075-y>; Strauch (2024) <doi:10.1016/j.tins.2024.06.002>]. Yet, despite decades of pupillometry research, many established packages and workflows to date lack design patterns based on Findability, Accessibility, Interoperability, and Reusability (FAIR) principles [see Wilkinson et al. (2016) <doi:10.1038/sdata.2016.18>]. 'eyeris' provides a modular, performant, and extensible preprocessing framework for pupillometry data with BIDS-like organization and interactive output reports [Esteban et al. (2019) <doi:10.1038/s41592-018-0235-4>; Gorgolewski et al. (2016) <doi:10.1038/sdata.2016.44>]. Development was supported, in part, by the Stanford Wu Tsai Human Performance Alliance, Stanford Ric Weiland Graduate Fellowship, Stanford Center for Mind, Brain, Computation and Technology, NIH National Institute on Aging Grants (R01-AG065255, R01-AG079345), NSF GRFP (DGE-2146755), McKnight Brain Research Foundation Clinical Translational Research Scholarship in Cognitive Aging and Age-Related Memory Loss, American Brain Foundation, and the American Academy of Neurology.

Downloads

293

Last 30 days

13968th

885

Last 90 days

4.2K

Last year

Trend: -9.6% (30d vs prior 30d)

CRAN Check Status

1 ERROR
2 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (4 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    help   1.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    help   1.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    help   1.1Mb
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [123s]
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.
  
  > 
  > test_check("eyeris")
  i [2026-03-28 05:53:38] [INFO] Created output directory:
  D:\temp\2026_03_27_17_37_41_8496\Rtmp8kPsH6/test_chunked_output
  v [2026-03-28 05:53:38] [OKAY] Connected to eyeris database:
  D:\temp\2026_03_27_17_37_41_8496\Rtmp8kPsH6/bids_test/derivatives/test-db.eyerisdb
  i [2026-03-28 05:53:38] [INFO] Exporting data types: confounds_summary
  i [2026-03-28 05:53:38] 
...[truncated]...
sion failed with error 99
  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:
    pandoc document conversion failed with error 99
  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:
    pandoc document conversion failed with error 99
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 188 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    help   1.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    help   1.1Mb
ERROR r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    help   1.1Mb

Dependency Network

Dependencies Reverse dependencies eyelinker dplyr gsignal purrr zoo cli rlang stringr tidyr progress data.table withr lifecycle MASS viridis +6 more dependencies eyeris

Version History

new 3.0.1 Mar 10, 2026
updated 3.0.1 ← 3.0.0 diff Oct 6, 2025
updated 3.0.0 ← 2.1.1 diff Sep 16, 2025
updated 2.1.1 ← 2.1.0 diff Jul 25, 2025
updated 2.1.0 ← 2.0.0 diff Jul 21, 2025
updated 2.0.0 ← 1.2.1 diff Jul 2, 2025
updated 1.2.1 ← 1.2.0 diff Jun 12, 2025
updated 1.2.0 ← 1.1.0 diff Jun 6, 2025
updated 1.1.0 ← 1.0.0 diff Apr 23, 2025
new 1.0.0 Mar 30, 2025