Running 'spelling.R' [0s]
  Running 'testthat.R' [11s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(stepmetrics)
  > 
  > test_check("stepmetrics")
  Saving _problems/test-readFile-103.R
  
  ________________________________________________________________________________
  Calculating features per day...
  Processing participant: S001 
  ________________________________________________________________________________
  Calculating means per recording
  Processing participant: S001  
  ________________________________________________________________________________
  Storing output...
  
  
  Analyses complete!
  
          Your output is stored here:  D:\temp\2026_06_08_01_50_00_26021\RtmpyAT3KG\stepmetrics_out_5fd2076de7e08 
  
  ________________________________________________________________________________
  Calculating features per day...
  Processing participant: 101 
  ________________________________________________________________________________
  Calculating means per recording
  Processing participant: 101  
  ________________________________________________________________________________
  Storing output...
  
  
  Analyses complete!
  
          Your output is stored here:  D:\temp\2026_06_08_01_50_00_26021\RtmpyAT3KG\stepmetrics_out_5fd2031cd2ab9 
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 67 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-readFile.R:103:3'): reads and formats data correctly ─────────
  Expected `unclass(as.POSIXct(ts, tz = "UTC"))` to be identical to `unclass(exp)`.
  Differences:
    `actual`: 1625312880.0
  `expected`: 1625320080.0
  
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 67 ]
  Error:
  ! Test failures.
  Execution halted