Last updated on 2026-03-14 01:52:30 CET.
| Package | ERROR | OK |
|---|---|---|
| stepmetrics | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 1.0.3
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [12s]
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_03_10_01_50_00_7065\RtmpmymWgm\stepmetrics_out_402c749719c6
________________________________________________________________________________
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_03_10_01_50_00_7065\RtmpmymWgm\stepmetrics_out_402c6b1e6056
[ 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
Flavor: r-devel-windows-x86_64