Running ‘testthat.R’ [9s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eyelinker)
  > 
  > test_check("eyelinker")
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 80 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_utils.R:12:5'): test_whichInterval ─────────────────────────────
  Error in `.local(from, to, ...)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(whichInterval(2.5, intv), 3) at test_utils.R:12:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─eyelinker::whichInterval(2.5, intv)
    5.   ├─intervals::which_nearest(x, Intv)
    6.   └─intervals::which_nearest(x, Intv)
    7.     └─intervals (local) .local(from, to, ...)
    8.       ├─intervals::which_nearest(...)
    9.       └─intervals::which_nearest(...)
   10.         └─intervals (local) .local(from, to, ...)
  ── Error ('test_utils.R:42:5'): test_In_operator ───────────────────────────────
  Error in `.local(from, to, ...)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(0.5 %In% intv, TRUE) at test_utils.R:42:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─0.5 %In% intv
    5.   ├─intervals::distance_to_nearest(x, Intv)
    6.   └─intervals::distance_to_nearest(x, Intv)
    7.     └─intervals (local) .local(from, to, ...)
    8.       ├─intervals::which_nearest(from, to, check_valid)
    9.       └─intervals::which_nearest(from, to, check_valid)
   10.         └─intervals (local) .local(from, to, ...)
   11.           ├─intervals::which_nearest(...)
   12.           └─intervals::which_nearest(...)
   13.             └─intervals (local) .local(from, to, ...)
  
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 80 ]
  Error: Test failures
  Execution halted