“…For analysis several options are given, including the use of Generalised Additive Models which uses the mgcv package (Wood, 2017), and Functional Data Analysis, which uses functions from the fda package (Ramsay, Graves, & Hooker, 2020). Some comprehensive pupillometry pipelines exist already in MATLAB (Hershman, Henik, & Cohen, 2019;Sirois, n.d.), and in R (Geller, Winn, Mahr, & Mirman, 2020), and while each of these have their own merits, none offer the start-to-finish comprehensive pipeline in an open-source language compatible with most brands of eye-tracker, which includes inbuilt plotting functions, and flexibility of analysis style (time windows, FDA, GAMs) offered in PupillometryR. In addition, PupillometryR is available on CRAN, making it easy to download for R users, and subject to regular CRAN checks.…”