Skip to contents

This method provides a structured way to save out pupil data in a BIDS-like structure. The method saves out epoched data as well as the raw pupil time series, and formats the directory and filename structures based on the metadata you provide.

Usage

bidsify(
  eyeris,
  save_all = TRUE,
  epochs_list = NULL,
  bids_dir = NULL,
  participant_id = NULL,
  session_num = NULL,
  task_name = NULL,
  run_num = NULL,
  save_raw = TRUE,
  html_report = TRUE,
  report_seed = 0,
  report_epoch_grouping_var_col = "matched_event",
  verbose = TRUE,
  csv_enabled = TRUE,
  db_enabled = FALSE,
  db_path = "my-project",
  parallel_processing = FALSE,
  merge_epochs = deprecated(),
  merge_runs = deprecated(),
  pdf_report = deprecated()
)

Arguments

eyeris

An object of class eyeris derived from load_asc()

save_all

Logical flag indicating whether all epochs are to be saved or only a subset of them. Defaults to TRUE

epochs_list

List of epochs to be saved. Defaults to NULL

bids_dir

Base bids_directory. Defaults to NULL

participant_id

BIDS subject ID. Defaults to NULL

session_num

BIDS session ID. Defaults to NULL

task_name

BIDS task ID. Defaults to NULL

run_num

BIDS run ID. Optional override for the run number when there's only one block of data present in a given .asc file. This allows you to manually specify a run number (e.g., "03") instead of using the default block number in .asc files (1). This is especially useful if you have a single .asc file for a single run of a task and want your BIDSified derivatives to be labeled correctly. However, for files with multiple recording blocks embedded within the same .asc file, this parameter is ignored and blocks are automatically numbered as runs (block 1 = run-01, block 2 = run-02, etc.) in the order they appeared/were recorded. Defaults to NULL (no override)

save_raw

Logical flag indicating whether to save_raw pupil data in addition to epoched data. Defaults to TRUE

html_report

Logical flag indicating whether to save out the eyeris preprocessing summary report as an HTML file. Defaults to TRUE

report_seed

Random seed for the plots that will appear in the report Defaults to 0. See plot() for a more detailed description

report_epoch_grouping_var_col

String name of grouping column to use for epoch-by-epoch diagnostic plots in an interactive rendered HTML report. Column name must exist (i.e., be a custom grouping variable name set within the metadata template of your epoch() call). Defaults to "matched_event", which all epoched data frames have as a valid column name. To disable these epoch-level diagnostic plots, set to NULL

verbose

A flag to indicate whether to print detailed logging messages. Defaults to TRUE. Set to FALSE to suppress messages about the current processing step and run silently

csv_enabled

Logical flag indicating whether to write CSV output files. Defaults to TRUE. Set to FALSE to disable CSV file generation, useful for large-scale cloud compute environments when using database storage only

db_enabled

Logical flag indicating whether to write data to a DuckDB database. Defaults to FALSE. When TRUE, creates or connects to a database for centralized data storage and querying

db_path

Database filename or path. Defaults to "eyeris-proj.eyerisdb". If just a filename, the database will be created in the derivatives/ directory. If a full path is provided, it will be used as specified

parallel_processing

Logical flag to manually enable parallel database processing. When TRUE, uses temporary databases to avoid concurrency issues. Defaults to FALSE (auto-detect based on environment variables)

merge_epochs

(Deprecated) This parameter is deprecated and will be ignored. All epochs are now saved as separate files following BIDS conventions. This parameter will be removed in a future version

merge_runs

(Deprecated) This parameter is deprecated and will be ignored. All runs are now saved as separate files following BIDS conventions. This parameter will be removed in a future version

pdf_report

(Deprecated) Use html_report = TRUE instead

Value

Invisibly returns NULL. Called for its side effects

Details

In the future, we intend for this function to save out the data in an official BIDS format for eyetracking data (see the proposal currently under review here). At this time, however, this function instead takes a more BIDS-inspired approach to organizing the output files for preprocessed pupil data.

Examples

# bleed around blink periods just long enough to remove majority of
#  deflections due to eyelid movements
# \donttest{
demo_data <- eyelink_asc_demo_dataset()

# example with unepoched data
demo_data |>
  eyeris::glassbox() |>
  eyeris::bidsify(
    bids_dir = tempdir(), # <- MAKE SURE TO UPDATE TO YOUR DESIRED LOCAL PATH
    participant_id = "001",
    session_num = "01",
    task_name = "assocret",
    run_num = "01",
    save_raw = TRUE, # save out raw time series
    html_report = TRUE, # generate interactive report document
    report_seed = 0 # make randomly selected plot epochs reproducible
  )
#>  [2026-02-01 01:09:43] [OKAY] Running eyeris::load_asc()
#>  [2026-02-01 01:09:44] [INFO] Processing block: block_1
#>  [2026-02-01 01:09:44] [OKAY] Running eyeris::deblink() for block_1
#>  [2026-02-01 01:09:44] [OKAY] Running eyeris::detransient() for block_1
#>  [2026-02-01 01:09:44] [OKAY] Running eyeris::interpolate() for block_1
#>  [2026-02-01 01:09:44] [OKAY] Running eyeris::lpfilt() for block_1

#> ! [2026-02-01 01:09:44] [WARN] Skipping eyeris::downsample() for block_1
#> ! [2026-02-01 01:09:44] [WARN] Skipping eyeris::bin() for block_1
#> ! [2026-02-01 01:09:44] [WARN] Skipping eyeris::detrend() for block_1
#>  [2026-02-01 01:09:44] [OKAY] Running eyeris::zscore() for block_1
#>  [2026-02-01 01:09:44] [INFO] Block processing summary:
#>  [2026-02-01 01:09:44] [INFO] block_1: OK (steps: 6, latest:
#> pupil_raw_deblink_detransient_interpolate_lpfilt_z)
#>  [2026-02-01 01:09:44] [OKAY] Running eyeris::summarize_confounds()
#>  [2026-02-01 01:09:44] [INFO] Starting BIDSify for sub-001 (monocular)
#>  [2026-02-01 01:09:44] [INFO] Only 1 block detected...
#>  [2026-02-01 01:09:44] [INFO] Using run_num = 01 for single block data
#> ! [2026-02-01 01:09:44] [WARN] '/tmp/RtmpQNSozO' already exists. Skipping
#> creation...
#>  [2026-02-01 01:09:44] [INFO] '/tmp/RtmpQNSozO/derivatives' does not exist.
#> Creating...
#>  [2026-02-01 01:09:44] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives'
#>  [2026-02-01 01:09:44] [INFO] '/tmp/RtmpQNSozO/derivatives/sub-001' does not
#> exist. Creating...
#>  [2026-02-01 01:09:44] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001'
#>  [2026-02-01 01:09:44] [INFO] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01'
#> does not exist. Creating...
#>  [2026-02-01 01:09:44] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01'
#>  [2026-02-01 01:09:44] [INFO] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye'
#> does not exist. Creating...
#>  [2026-02-01 01:09:44] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye'
#>  [2026-02-01 01:09:44] [INFO] Writing blinks data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-01_desc-blinks.csv...
#>  [2026-02-01 01:09:44] [OKAY] Wrote blinks data (1 rows) to CSV
#>  [2026-02-01 01:09:44] [INFO] Writing events data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-01_desc-events.csv...
#>  [2026-02-01 01:09:44] [OKAY] Wrote events data (67 rows) to CSV
#>  [2026-02-01 01:09:44] [OKAY] Wrote timeseries data (20767 rows) to CSV
#>  [2026-02-01 01:09:44] [OKAY] Wrote run_confounds data (6 rows) to CSV
#>  [2026-02-01 01:09:44] [INFO]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures' does not exist.
#> Creating...
#>  [2026-02-01 01:09:44] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures'
#>  [2026-02-01 01:09:44] [INFO]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' does not
#> exist. Creating...
#>  [2026-02-01 01:09:44] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01'
#>  [2026-02-01 01:09:45] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:45] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:45] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:45] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:45] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:45] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:46] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:47] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:47] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:47] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#> ! [2026-02-01 01:09:47] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:09:48] [OKAY] Created gaze heatmap for run-01
#> ! [2026-02-01 01:09:49] [WARN] No detrend data found for run-01
#> 
#> 
#> processing file: sub-001.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --table-of-contents --toc-depth 6 --variable toc_float=1 --variable toc_selectors=h1,h2,h3,h4,h5,h6 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c7034de2932.html 
#> 
#> Output created: sub-001.html
#>  [2026-02-01 01:09:52] [INFO] Finished BIDSify for sub-001 (Duration: 7.43
#> seconds)

# example with epoched data
demo_data |>
  eyeris::glassbox() |>
  eyeris::epoch(
    events = "PROBE_{startstop}_{trial}",
    limits = c(-1, 1), # grab 1 second prior to and 1 second post event
    label = "prePostProbe" # custom epoch label name
  ) |>
  eyeris::bidsify(
    bids_dir = tempdir(), # <- MAKE SURE TO UPDATE TO YOUR DESIRED LOCAL PATH
    participant_id = "001",
    session_num = "01",
    task_name = "assocret",
    run_num = "01"
  )
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::load_asc()
#>  [2026-02-01 01:09:52] [INFO] Processing block: block_1
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::deblink() for block_1
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::detransient() for block_1
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::interpolate() for block_1
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::lpfilt() for block_1
#> ! [2026-02-01 01:09:52] [WARN] Skipping eyeris::downsample() for block_1
#> ! [2026-02-01 01:09:52] [WARN] Skipping eyeris::bin() for block_1
#> ! [2026-02-01 01:09:52] [WARN] Skipping eyeris::detrend() for block_1
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::zscore() for block_1
#>  [2026-02-01 01:09:52] [INFO] Block processing summary:
#>  [2026-02-01 01:09:52] [INFO] block_1: OK (steps: 6, latest:
#> pupil_raw_deblink_detransient_interpolate_lpfilt_z)
#>  [2026-02-01 01:09:52] [OKAY] Running eyeris::summarize_confounds()
#>  [2026-02-01 01:09:52] [INFO] Epoching pupil data...
#>  [2026-02-01 01:09:52] [INFO] Block 1: found 10 matching events for
#> PROBEstartstoptrial
#>  [2026-02-01 01:09:52] [OKAY] Done!
#>  [2026-02-01 01:09:52] [OKAY] Block 1: pupil data from 10 unique event
#> messages extracted
#>  [2026-02-01 01:09:52] [OKAY] Pupil epoching completed in 0.26 seconds
#>  [2026-02-01 01:09:52] [INFO] Recalculating epoched confounds for new
#> epochs...
#>  [2026-02-01 01:09:53] [INFO] Starting BIDSify for sub-001 (monocular)
#>  [2026-02-01 01:09:53] [INFO] Only 1 block detected...
#>  [2026-02-01 01:09:53] [INFO] Using run_num = 01 for single block data
#>  [2026-02-01 01:09:53] [INFO] Filtered epochs: epoch_prePostProbe
#>  [2026-02-01 01:09:53] [INFO] Epoch names to save: epoch_prePostProbe
#>  [2026-02-01 01:09:53] [INFO] epoch_prePostProbe:
#>  [2026-02-01 01:09:53] [INFO] block_1: data.frame with 20000 rows
#>  [2026-02-01 01:09:53] [INFO] info: list with 1 elements
#> ! [2026-02-01 01:09:53] [WARN] '/tmp/RtmpQNSozO' already exists. Skipping
#> creation...
#> ! [2026-02-01 01:09:53] [WARN] '/tmp/RtmpQNSozO/derivatives' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:09:53] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001' already
#> exists. Skipping creation...
#> ! [2026-02-01 01:09:53] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01'
#> already exists. Skipping creation...
#> ! [2026-02-01 01:09:53] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye'
#> already exists. Skipping creation...
#>  [2026-02-01 01:09:53] [INFO] Writing blinks data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-01_desc-blinks.csv...
#>  [2026-02-01 01:09:53] [OKAY] Wrote blinks data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [INFO] Writing events data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-01_desc-events.csv...
#>  [2026-02-01 01:09:53] [OKAY] Wrote events data (67 rows) to CSV
#>  [2026-02-01 01:09:53] [INFO] Processing single-run epoch: epoch_prePostProbe
#> (label: prePostProbe)
#>  [2026-02-01 01:09:53] [INFO] Block block_1 for epoch epoch_prePostProbe has
#> 20000 rows
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [INFO] Found epoch events in structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [OKAY] Wrote epochs data (20000 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote timeseries data (20767 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote run_confounds data (6 rows) to CSV
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [INFO] Created epoch summary for epoch_prePostProbe
#> with 9 fields
#>  [2026-02-01 01:09:53] [OKAY] Wrote epoch_summary data (1 rows) to CSV
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [INFO] Found epoch events in structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [INFO] Found epoch events in epoch structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:09:53] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:09:53] [OKAY] Wrote confounds_events data (6 rows) to CSV
#> ! [2026-02-01 01:09:53] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:09:53] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:09:53] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:53] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:53] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:54] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:09:55] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#> ! [2026-02-01 01:09:55] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:09:56] [OKAY] Created gaze heatmap for run-01
#> ! [2026-02-01 01:09:56] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:09:56] [INFO]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe'
#> does not exist. Creating...
#>  [2026-02-01 01:09:56] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe'
#>  [2026-02-01 01:10:03] [OKAY] Created epoch images zip:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe/run-01.zip
#> (70 images)
#>  [2026-02-01 01:10:03] [INFO] Using absolute zip file path:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe/run-01.zip
#>  [2026-02-01 01:10:03] [OKAY] Embedded zip file as data URL (7903929 bytes)
#> 
#> 
#> processing file: sub-001_epoch-prePostProbe_run-01.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001_epoch-prePostProbe_run-01.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001_epoch-prePostProbe_run-01.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001_epoch-prePostProbe_run-01.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c705938ed5e.html 
#> 
#> Output created: sub-001_epoch-prePostProbe_run-01.html
#> ! [2026-02-01 01:10:10] [WARN] Skipping block info for epoch 1 - no valid data
#>  [2026-02-01 01:10:10] [INFO] Removing duplicate plain epoch directory:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe
#> ! [2026-02-01 01:10:10] [WARN] Metadata file already exists for 1:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/logs/run-01_metadata.json
#> ! [2026-02-01 01:10:10] [WARN] No detrend data found for run-01
#> 
#> 
#> processing file: sub-001.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --table-of-contents --toc-depth 6 --variable toc_float=1 --variable toc_selectors=h1,h2,h3,h4,h5,h6 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c707d26f7a.html 
#> 
#> Output created: sub-001.html
#>  [2026-02-01 01:10:12] [INFO] Finished BIDSify for sub-001 (Duration: 19.51
#> seconds)

# example with run_num for single block data
demo_data <- eyelink_asc_demo_dataset()

demo_data |>
  eyeris::glassbox() |>
  eyeris::epoch(
    events = "PROBE_{startstop}_{trial}",
    limits = c(-1, 1),
    label = "prePostProbe"
  ) |>
  eyeris::bidsify(
    bids_dir = tempdir(),
    participant_id = "001",
    session_num = "01",
    task_name = "assocret",
    run_num = "03" # override default run-01 (block_1) to use run-03 instead
  )
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::load_asc()
#>  [2026-02-01 01:10:12] [INFO] Processing block: block_1
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::deblink() for block_1
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::detransient() for block_1
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::interpolate() for block_1
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::lpfilt() for block_1
#> ! [2026-02-01 01:10:12] [WARN] Skipping eyeris::downsample() for block_1
#> ! [2026-02-01 01:10:12] [WARN] Skipping eyeris::bin() for block_1
#> ! [2026-02-01 01:10:12] [WARN] Skipping eyeris::detrend() for block_1
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::zscore() for block_1
#>  [2026-02-01 01:10:12] [INFO] Block processing summary:
#>  [2026-02-01 01:10:12] [INFO] block_1: OK (steps: 6, latest:
#> pupil_raw_deblink_detransient_interpolate_lpfilt_z)
#>  [2026-02-01 01:10:12] [OKAY] Running eyeris::summarize_confounds()
#>  [2026-02-01 01:10:12] [INFO] Epoching pupil data...
#>  [2026-02-01 01:10:12] [INFO] Block 1: found 10 matching events for
#> PROBEstartstoptrial
#>  [2026-02-01 01:10:12] [OKAY] Done!
#>  [2026-02-01 01:10:12] [OKAY] Block 1: pupil data from 10 unique event
#> messages extracted
#>  [2026-02-01 01:10:12] [OKAY] Pupil epoching completed in 0.11 seconds
#>  [2026-02-01 01:10:12] [INFO] Recalculating epoched confounds for new
#> epochs...
#>  [2026-02-01 01:10:13] [INFO] Starting BIDSify for sub-001 (monocular)
#>  [2026-02-01 01:10:13] [INFO] Only 1 block detected...
#>  [2026-02-01 01:10:13] [INFO] Using run_num = 03 for single block data
#>  [2026-02-01 01:10:13] [INFO] Filtered epochs: epoch_prePostProbe
#>  [2026-02-01 01:10:13] [INFO] Epoch names to save: epoch_prePostProbe
#>  [2026-02-01 01:10:13] [INFO] epoch_prePostProbe:
#>  [2026-02-01 01:10:13] [INFO] block_1: data.frame with 20000 rows
#>  [2026-02-01 01:10:13] [INFO] info: list with 1 elements
#> ! [2026-02-01 01:10:13] [WARN] '/tmp/RtmpQNSozO' already exists. Skipping
#> creation...
#> ! [2026-02-01 01:10:13] [WARN] '/tmp/RtmpQNSozO/derivatives' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:10:13] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001' already
#> exists. Skipping creation...
#> ! [2026-02-01 01:10:13] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01'
#> already exists. Skipping creation...
#> ! [2026-02-01 01:10:13] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye'
#> already exists. Skipping creation...
#>  [2026-02-01 01:10:13] [INFO] Writing blinks data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-03_desc-blinks.csv...
#>  [2026-02-01 01:10:13] [OKAY] Wrote blinks data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [INFO] Writing events data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-03_desc-events.csv...
#>  [2026-02-01 01:10:13] [OKAY] Wrote events data (67 rows) to CSV
#>  [2026-02-01 01:10:13] [INFO] Processing single-run epoch: epoch_prePostProbe
#> (label: prePostProbe)
#>  [2026-02-01 01:10:13] [INFO] Block block_1 for epoch epoch_prePostProbe has
#> 20000 rows
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [INFO] Found epoch events in structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [OKAY] Wrote epochs data (20000 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote timeseries data (20767 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote run_confounds data (6 rows) to CSV
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [INFO] Created epoch summary for epoch_prePostProbe
#> with 9 fields
#>  [2026-02-01 01:10:13] [OKAY] Wrote epoch_summary data (1 rows) to CSV
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [INFO] Found epoch events in structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_summary data (1 rows) to CSV
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [INFO] Found epoch events in epoch structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:13] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#>  [2026-02-01 01:10:13] [OKAY] Wrote confounds_events data (6 rows) to CSV
#> ! [2026-02-01 01:10:13] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures' already exists.
#> Skipping creation...
#>  [2026-02-01 01:10:13] [INFO]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03' does not
#> exist. Creating...
#>  [2026-02-01 01:10:13] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03'
#>  [2026-02-01 01:10:13] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:13] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:14] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#>  [2026-02-01 01:10:15] [INFO] Plotting block 3 with sampling rate 1000 Hz from
#> possible blocks: 3
#> ! [2026-02-01 01:10:15] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:16] [OKAY] Created gaze heatmap for run-03
#> ! [2026-02-01 01:10:16] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:16] [INFO]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03/epoch_prePostProbe'
#> does not exist. Creating...
#>  [2026-02-01 01:10:16] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03/epoch_prePostProbe'
#>  [2026-02-01 01:10:23] [OKAY] Created epoch images zip:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03/epoch_prePostProbe/run-03.zip
#> (70 images)
#>  [2026-02-01 01:10:23] [INFO] Using absolute zip file path:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03/epoch_prePostProbe/run-03.zip
#>  [2026-02-01 01:10:23] [OKAY] Embedded zip file as data URL (7969936 bytes)
#> 
#> 
#> processing file: sub-001_epoch-prePostProbe_run-03.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001_epoch-prePostProbe_run-03.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001_epoch-prePostProbe_run-03.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001_epoch-prePostProbe_run-03.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c703149561.html 
#> 
#> Output created: sub-001_epoch-prePostProbe_run-03.html
#> ! [2026-02-01 01:10:30] [WARN] Skipping block info for epoch 1 - no valid data
#>  [2026-02-01 01:10:30] [INFO] Removing duplicate plain epoch directory:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-03/epoch_prePostProbe
#> ! [2026-02-01 01:10:30] [WARN] Metadata file already exists for 1:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/logs/run-01_metadata.json
#> ! [2026-02-01 01:10:32] [WARN] No detrend data found for run-03
#> 
#> 
#> processing file: sub-001.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --table-of-contents --toc-depth 6 --variable toc_float=1 --variable toc_selectors=h1,h2,h3,h4,h5,h6 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c70bf89b40.html 
#> 
#> Output created: sub-001.html
#>  [2026-02-01 01:10:34] [INFO] Finished BIDSify for sub-001 (Duration: 21.12
#> seconds)

# example with database storage enabled
demo_data |>
  eyeris::glassbox() |>
  eyeris::epoch(
    events = "PROBE_{startstop}_{trial}",
    limits = c(-1, 1),
    label = "prePostProbe"
  ) |>
  eyeris::bidsify(
    bids_dir = tempdir(),
    participant_id = "001",
    session_num = "01",
    task_name = "assocret",
    db_enabled = TRUE,  # enable eyerisdb database storage
    db_path = "my-project"  # custom project database name
  )
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::load_asc()
#>  [2026-02-01 01:10:34] [INFO] Processing block: block_1
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::deblink() for block_1
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::detransient() for block_1
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::interpolate() for block_1
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::lpfilt() for block_1
#> ! [2026-02-01 01:10:34] [WARN] Skipping eyeris::downsample() for block_1
#> ! [2026-02-01 01:10:34] [WARN] Skipping eyeris::bin() for block_1
#> ! [2026-02-01 01:10:34] [WARN] Skipping eyeris::detrend() for block_1
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::zscore() for block_1
#>  [2026-02-01 01:10:34] [INFO] Block processing summary:
#>  [2026-02-01 01:10:34] [INFO] block_1: OK (steps: 6, latest:
#> pupil_raw_deblink_detransient_interpolate_lpfilt_z)
#>  [2026-02-01 01:10:34] [OKAY] Running eyeris::summarize_confounds()
#>  [2026-02-01 01:10:34] [INFO] Epoching pupil data...
#>  [2026-02-01 01:10:34] [INFO] Block 1: found 10 matching events for
#> PROBEstartstoptrial
#>  [2026-02-01 01:10:34] [OKAY] Done!
#>  [2026-02-01 01:10:34] [OKAY] Block 1: pupil data from 10 unique event
#> messages extracted
#>  [2026-02-01 01:10:34] [OKAY] Pupil epoching completed in 0.11 seconds
#>  [2026-02-01 01:10:34] [INFO] Recalculating epoched confounds for new
#> epochs...
#>  [2026-02-01 01:10:34] [INFO] Starting BIDSify for sub-001 (monocular)
#>  [2026-02-01 01:10:34] [INFO] Only 1 block detected...
#>  [2026-02-01 01:10:34] [INFO] Using run_num = 1 for single block data
#>  [2026-02-01 01:10:34] [INFO] Filtered epochs: epoch_prePostProbe
#>  [2026-02-01 01:10:34] [INFO] Epoch names to save: epoch_prePostProbe
#>  [2026-02-01 01:10:34] [INFO] Parallel processing detected for job unknown
#> (PID: 7280), using temporary database
#>  [2026-02-01 01:10:34] [OKAY] Created temporary database:
#> /tmp/RtmpQNSozO/derivatives/my-project_temp_7280_20260201_011034_918.eyerisdb
#>  [2026-02-01 01:10:34] [INFO] epoch_prePostProbe:
#>  [2026-02-01 01:10:34] [INFO] block_1: data.frame with 20000 rows
#>  [2026-02-01 01:10:34] [INFO] info: list with 1 elements
#> ! [2026-02-01 01:10:34] [WARN] '/tmp/RtmpQNSozO' already exists. Skipping
#> creation...
#> ! [2026-02-01 01:10:34] [WARN] '/tmp/RtmpQNSozO/derivatives' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:10:35] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001' already
#> exists. Skipping creation...
#> ! [2026-02-01 01:10:35] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01'
#> already exists. Skipping creation...
#> ! [2026-02-01 01:10:35] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye'
#> already exists. Skipping creation...
#>  [2026-02-01 01:10:35] [INFO] Writing blinks data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-01_desc-blinks.csv...
#>  [2026-02-01 01:10:35] [OKAY] Wrote blinks data (1 rows) to CSV and database
#>  [2026-02-01 01:10:35] [INFO] Writing events data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/eye/sub-001_ses-01_task-assocret_run-01_desc-events.csv...
#>  [2026-02-01 01:10:35] [OKAY] Wrote events data (67 rows) to CSV and database
#>  [2026-02-01 01:10:35] [INFO] Processing single-run epoch: epoch_prePostProbe
#> (label: prePostProbe)
#>  [2026-02-01 01:10:35] [INFO] Block block_1 for epoch epoch_prePostProbe has
#> 20000 rows
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:35] [INFO] Found epoch events in structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:35] [OKAY] Wrote epochs data (20000 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote timeseries data (20767 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote run_confounds data (6 rows) to CSV and
#> database
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:35] [INFO] Created epoch summary for epoch_prePostProbe
#> with 9 fields
#>  [2026-02-01 01:10:35] [OKAY] Wrote epoch_summary data (1 rows) to CSV and
#> database
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:35] [INFO] Found epoch events in structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#>  [2026-02-01 01:10:35] [OKAY] Wrote confounds_summary data (1 rows) to CSV and
#> database
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:35] [INFO] Found epoch events in epoch structure:
#> PROBE_{startstop}_{trial}
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#> ! [2026-02-01 01:10:35] [WARN] No baseline structure found for epoch label:
#> prePostProbe
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#>  [2026-02-01 01:10:36] [OKAY] Wrote confounds_events data (6 rows) to CSV and
#> database
#> ! [2026-02-01 01:10:36] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:10:36] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:36] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:37] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:38] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:38] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#> ! [2026-02-01 01:10:38] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:38] [OKAY] Created gaze heatmap for run-01
#> ! [2026-02-01 01:10:38] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:38] [INFO]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe'
#> does not exist. Creating...
#>  [2026-02-01 01:10:38] [OKAY] BIDS directory successfully created at:
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe'
#>  [2026-02-01 01:10:45] [OKAY] Created epoch images zip:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe/run-01.zip
#> (70 images)
#>  [2026-02-01 01:10:45] [INFO] Using absolute zip file path:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe/run-01.zip
#>  [2026-02-01 01:10:45] [OKAY] Embedded zip file as data URL (7903929 bytes)
#> 
#> 
#> processing file: sub-001_epoch-prePostProbe_run-01.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001_epoch-prePostProbe_run-01.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001_epoch-prePostProbe_run-01.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001_epoch-prePostProbe_run-01.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c703a6e6966.html 
#> 
#> Output created: sub-001_epoch-prePostProbe_run-01.html
#> ! [2026-02-01 01:10:52] [WARN] Skipping block info for epoch 1 - no valid data
#>  [2026-02-01 01:10:52] [INFO] Removing duplicate plain epoch directory:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01/epoch_prePostProbe
#> ! [2026-02-01 01:10:52] [WARN] Metadata file already exists for 1:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/logs/run-01_metadata.json
#> ! [2026-02-01 01:10:52] [WARN] Metadata file already exists for 3:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/logs/run-03_metadata.json
#> ! [2026-02-01 01:10:52] [WARN] No detrend data found for run-01
#> 
#> 
#> processing file: sub-001.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --table-of-contents --toc-depth 6 --variable toc_float=1 --variable toc_selectors=h1,h2,h3,h4,h5,h6 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c7074b15eb0.html 
#> 
#> Output created: sub-001.html
#>  [2026-02-01 01:10:54] [INFO] Merging temporary database from job unknown
#> (PID: 7280) into main database
#>  [2026-02-01 01:10:54] [INFO] Merging 8 tables from temporary database to main
#> database
#>  [2026-02-01 01:10:55] [INFO] Created new table 'blinks_001_01_assocret_run01'
#> with 1 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table
#> 'confounds_events_001_01_assocret_run01_prepostprobe' with 60 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table
#> 'confounds_summary_001_01_assocret_run01_prepostprobe' with 10 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table
#> 'epoch_summary_001_01_assocret_run01' with 1 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table
#> 'epochs_001_01_assocret_run01_prepostprobe' with 20000 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table 'events_001_01_assocret_run01'
#> with 67 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table
#> 'run_confounds_001_01_assocret_run01' with 6 rows
#>  [2026-02-01 01:10:55] [INFO] Created new table
#> 'timeseries_001_01_assocret_run01' with 20767 rows
#>  [2026-02-01 01:10:55] [OKAY] Successfully merged 8/8 tables
#>  [2026-02-01 01:10:55] [OKAY] Successfully merged job unknown (PID: 7280) data
#> into main database
#>  [2026-02-01 01:10:55] [INFO] Disconnected from temporary database
#>  [2026-02-01 01:10:55] [OKAY] Cleaned up temporary database file
#>  [2026-02-01 01:10:55] [INFO] Finished BIDSify for sub-001 (Duration: 20.83
#> seconds)

# example for large-scale cloud compute (database only, no CSV files)
demo_data |>
  eyeris::glassbox() |>
  eyeris::bidsify(
    bids_dir = tempdir(),
    participant_id = "001",
    session_num = "01",
    task_name = "assocret",
    csv_enabled = FALSE,  # disable CSV files
    db_enabled = TRUE     # database storage only
  )
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::load_asc()
#>  [2026-02-01 01:10:55] [INFO] Processing block: block_1
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::deblink() for block_1
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::detransient() for block_1
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::interpolate() for block_1
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::lpfilt() for block_1
#> ! [2026-02-01 01:10:55] [WARN] Skipping eyeris::downsample() for block_1
#> ! [2026-02-01 01:10:55] [WARN] Skipping eyeris::bin() for block_1
#> ! [2026-02-01 01:10:55] [WARN] Skipping eyeris::detrend() for block_1
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::zscore() for block_1
#>  [2026-02-01 01:10:55] [INFO] Block processing summary:
#>  [2026-02-01 01:10:55] [INFO] block_1: OK (steps: 6, latest:
#> pupil_raw_deblink_detransient_interpolate_lpfilt_z)
#>  [2026-02-01 01:10:55] [OKAY] Running eyeris::summarize_confounds()
#>  [2026-02-01 01:10:55] [INFO] Starting BIDSify for sub-001 (monocular)
#>  [2026-02-01 01:10:55] [INFO] Only 1 block detected...
#>  [2026-02-01 01:10:55] [INFO] Using run_num = 1 for single block data
#>  [2026-02-01 01:10:55] [INFO] Parallel processing detected for job unknown
#> (PID: 7280), using temporary database
#>  [2026-02-01 01:10:56] [OKAY] Created temporary database:
#> /tmp/RtmpQNSozO/derivatives/my-project_temp_7280_20260201_011055_986.eyerisdb
#> ! [2026-02-01 01:10:56] [WARN] '/tmp/RtmpQNSozO' already exists. Skipping
#> creation...
#> ! [2026-02-01 01:10:56] [WARN] '/tmp/RtmpQNSozO/derivatives' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:10:56] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001' already
#> exists. Skipping creation...
#> ! [2026-02-01 01:10:56] [WARN] '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01'
#> already exists. Skipping creation...
#>  [2026-02-01 01:10:56] [INFO] Writing blinks data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/sub-001_ses-01_task-assocret_run-01_desc-blinks.csv...
#>  [2026-02-01 01:10:56] [OKAY] Wrote blinks data (1 rows) to database
#>  [2026-02-01 01:10:56] [INFO] Writing events data to
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/sub-001_ses-01_task-assocret_run-01_desc-events.csv...
#>  [2026-02-01 01:10:56] [OKAY] Wrote events data (67 rows) to database
#>  [2026-02-01 01:10:56] [OKAY] Wrote timeseries data (20767 rows) to database
#>  [2026-02-01 01:10:56] [OKAY] Wrote run_confounds data (6 rows) to database
#> ! [2026-02-01 01:10:56] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures' already exists.
#> Skipping creation...
#> ! [2026-02-01 01:10:56] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:56] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:56] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:56] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:56] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:56] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:56] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:57] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:58] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:58] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#>  [2026-02-01 01:10:58] [INFO] Plotting block 1 with sampling rate 1000 Hz from
#> possible blocks: 1
#> ! [2026-02-01 01:10:58] [WARN]
#> '/tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/figures/run-01' already
#> exists. Skipping creation...
#>  [2026-02-01 01:10:58] [OKAY] Created gaze heatmap for run-01
#> ! [2026-02-01 01:10:58] [WARN] Metadata file already exists for 1:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/logs/run-01_metadata.json
#> ! [2026-02-01 01:10:58] [WARN] Metadata file already exists for 3:
#> /tmp/RtmpQNSozO/derivatives/sub-001/ses-01/source/logs/run-03_metadata.json
#> ! [2026-02-01 01:10:58] [WARN] No detrend data found for run-01
#> 
#> 
#> processing file: sub-001.Rmd
#> 1/5               
#> 2/5 [citation]    
#> 3/5               
#> 4/5 [session-info]
#> 5/5               
#> output file: sub-001.knit.md
#> /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc +RTS -K512m -RTS sub-001.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output sub-001.html --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/runner/work/_temp/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --table-of-contents --toc-depth 6 --variable toc_float=1 --variable toc_selectors=h1,h2,h3,h4,h5,h6 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template /home/runner/work/_temp/Library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --css /home/runner/work/_temp/Library/eyeris/rmarkdown/css/report.css --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpQNSozO/rmarkdown-str1c701f1dfa63.html 
#> 
#> Output created: sub-001.html
#>  [2026-02-01 01:11:00] [INFO] Merging temporary database from job unknown
#> (PID: 7280) into main database
#>  [2026-02-01 01:11:00] [INFO] Merging 4 tables from temporary database to main
#> database
#>  [2026-02-01 01:11:00] [INFO] Merged 1 rows into existing table
#> 'blinks_001_01_assocret_run01'
#>  [2026-02-01 01:11:00] [INFO] Merged 67 rows into existing table
#> 'events_001_01_assocret_run01'
#>  [2026-02-01 01:11:00] [INFO] Merged 6 rows into existing table
#> 'run_confounds_001_01_assocret_run01'
#>  [2026-02-01 01:11:00] [INFO] Merged 20767 rows into existing table
#> 'timeseries_001_01_assocret_run01'
#>  [2026-02-01 01:11:00] [OKAY] Successfully merged 4/4 tables
#>  [2026-02-01 01:11:00] [OKAY] Successfully merged job unknown (PID: 7280) data
#> into main database
#>  [2026-02-01 01:11:00] [INFO] Disconnected from temporary database
#>  [2026-02-01 01:11:00] [OKAY] Cleaned up temporary database file
#>  [2026-02-01 01:11:00] [INFO] Finished BIDSify for sub-001 (Duration: 4.85
#> seconds)
# }