- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘wrictools/DESCRIPTION’ ... OK
- this is package ‘wrictools’ version ‘1.0.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 ‘wrictools’ can be installed ... [6s/8s] OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/3s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/6s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [4s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/10s] ERROR
Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(wrictools)
>
> test_check("wrictools")
Starting time for room 1 is 2023-11-13 21:14:22 and end 2023-11-14 08:47:48 and for room 2 start is 2023-11-13 21:14:22 and end 2023-11-14 08:51:36
Starting time for room 1 is 2023-11-13 21:14:22 and end 2023-11-14 08:47:48 and for room 2 start is 2023-11-13 21:14:22 and end 2023-11-14 08:51:36
Saving _problems/test-processing-402.R
variable mean sd min max slope
1 VO2 356.7205 100.54488 -29.90960 786.6187 0.002766024
2 VCO2 298.4697 87.95359 -45.17043 674.9738 0.002499467
variable mean sd min max slope
1 VO2 332.0050 122.09571 -500.9322 708.2423 0.001944661
2 VCO2 267.9337 99.32789 -413.3808 565.4705 0.001476097
variable mean sd min max slope
1 VO2 47.500000 7.745967 30 62 -0.0096304348
2 VCO2 8.791667 1.052086 7 10 -0.0005289855
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 79 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-processing.R:402:3'): extract_protocol_events works for old and new software ──
Expected `as.character(first_entry_v1$timestamp)` to equal "2023-11-13 22:41:14".
Differences:
`actual`: "2023-11-14 22:41:14"
`expected`: "2023-11-13 22:41:14"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 79 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [25s/28s] OK
- checking PDF version of manual ... [7s/11s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '