- using R Under development (unstable) (2025-02-14 r87716)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘eyetrackingR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘eyetrackingR’ version ‘0.2.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘eyetrackingR’ can be installed ... [13s/17s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘rlang’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [20s/25s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [41s/50s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [130s/163s] ERROR
Running ‘testthat.R’ [130s/162s]
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")
Test Type: lmer
Predictor: (Intercept)
Formula: Prop ~ AOI + (1 | Trial)
Runs of Significant Time Bins:
Positive Run 1 =====
Time: 15500 - 21000 Test Type: boot_splines
Predictor: Target
Formula: Prop ~ Target
Runs of Significant Time Bins:
Positive Run 1 =====
Time: 15900 - 21000 [ FAIL 3 | WARN 16 | SKIP 0 | PASS 39 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_analyze_time_bins.R:105:3'): The function analyze_time_bins has correct data (interaction) ──
Error in `compare_dfs(tb_interaction1_check, tb_interaction1)`: all(dim(df1) == dim(df2)) is not TRUE
Backtrace:
▆
1. └─eyetrackingR (local) compare_dfs(tb_interaction1_check, tb_interaction1) at test_analyze_time_bins.R:105:3
2. └─base::stopifnot(all(dim(df1) == dim(df2))) at test_analyze_time_bins.R:6:3
── Failure ('test_cluster_analysis.R:97:3'): The function make_time_cluster_data gives necessary eyetrackingR attributes with lmer ──
nrow(attr(tclust_data_lmer, "eyetrackingR")$clusters) not equal to 2.
1/1 mismatches
[1] 0 - 2 == -2
── Failure ('test_cluster_analysis.R:98:3'): The function make_time_cluster_data gives necessary eyetrackingR attributes with lmer ──
ncol(attr(tclust_data_lmer, "eyetrackingR")$clusters) not equal to 5.
1/1 mismatches
[1] 3 - 5 == -2
[ FAIL 3 | WARN 16 | SKIP 0 | PASS 39 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [338s/432s] OK
- checking PDF version of manual ... [8s/13s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE