Running ‘testthat.R’ [43s/58s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eyetrackingR)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("eyetrackingR")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 27 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_analyze_time_bins.R:98:1'): (code run outside of `test_that()`) ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─eyetrackingR::analyze_time_bins(...) at test_analyze_time_bins.R:98:0
    2. ├─eyetrackingR:::analyze_time_bins.time_sequence_data(...)
    3. │ └─... %>% as.data.frame()
    4. ├─base::as.data.frame(.)
    5. ├─dplyr::do(...)
    6. ├─dplyr:::do.grouped_df(...)
    7. │ └─rlang::eval_tidy(args[[j]], mask)
    8. └─eyetrackingR (local) the_test(...)
    9.   ├─broom.mixed::tidy(res_err_warn$res, effects = "fixed")
   10.   └─broom.mixed:::tidy.merMod(res_err_warn$res, effects = "fixed")
   11.     ├─base (local) sum_fun(x)
   12.     └─lme4:::summary.merMod(x)
   13.       ├─nlme::VarCorr(object)
   14.       └─lme4:::VarCorr.merMod(object)
   15.         ├─base::structure(...)
   16.         └─lme4::mkVarCorr(...)
   17.           └─base::lapply(...)
   18.             └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test_cluster_analysis.R:88:1'): (code run outside of `test_that()`) ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─eyetrackingR::make_time_cluster_data(...) at test_cluster_analysis.R:88:0
    2. ├─eyetrackingR:::make_time_cluster_data.time_sequence_data(...)
    3. │ ├─base::do.call(analyze_time_bins, the_args)
    4. │ ├─eyetrackingR (local) `<fn>`(...)
    5. │ └─eyetrackingR:::analyze_time_bins.time_sequence_data(...)
    6. │   └─... %>% as.data.frame()
    7. ├─base::as.data.frame(.)
    8. ├─dplyr::do(...)
    9. ├─dplyr:::do.grouped_df(...)
   10. │ └─rlang::eval_tidy(args[[j]], mask)
   11. └─eyetrackingR (local) the_test(...)
   12.   ├─broom.mixed::tidy(res_err_warn$res, effects = "fixed")
   13.   └─broom.mixed:::tidy.merMod(res_err_warn$res, effects = "fixed")
   14.     ├─base (local) sum_fun(x)
   15.     └─lme4:::summary.merMod(x)
   16.       ├─nlme::VarCorr(object)
   17.       └─lme4:::VarCorr.merMod(object)
   18.         ├─base::structure(...)
   19.         └─lme4::mkVarCorr(...)
   20.           └─base::lapply(...)
   21.             └─lme4 (local) FUN(X[[i]], ...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 27 ]
  Error: Test failures
  Execution halted