Last updated on 2025-06-27 23:50:09 CEST.
Package | ERROR | OK |
---|---|---|
iperform | 3 | 10 |
Current CRAN status: ERROR: 3, OK: 10
Version: 0.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/4s]
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(iperform)
>
> test_check("iperform")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 45 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-dday.R:7:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-03", x = "x") (`actual`) not identical to 8 (`expected`).
`actual`: 0.0
`expected`: 8.0
── Failure ('test-dday.R:8:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-05", d = -1, x = "x") (`actual`) not identical to 12 (`expected`).
`actual`: 0.0
`expected`: 12.0
── Failure ('test-dday.R:9:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-05", d = 0, x = "x") (`actual`) not identical to 6 (`expected`).
`actual`: 0.0
`expected`: 6.0
── Failure ('test-dday.R:10:3'): dday works ────────────────────────────────────
dday(df, "2023-08-01", d = 1, x = "x") (`actual`) not identical to 13 (`expected`).
`actual`: 0.0
`expected`: 13.0
── Failure ('test-ytd.R:12:3'): ytd works ──────────────────────────────────────
ytd(df, "2023-08-01", x = "x") (`actual`) not equal to dday(df, "2023-08-01", x = "x") (`expected`).
`actual`: 10.0
`expected`: 0.0
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 45 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.0.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
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(iperform)
>
> test_check("iperform")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 45 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-dday.R:7:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-03", x = "x") (`actual`) not identical to 8 (`expected`).
`actual`: 0.0
`expected`: 8.0
── Failure ('test-dday.R:8:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-05", d = -1, x = "x") (`actual`) not identical to 12 (`expected`).
`actual`: 0.0
`expected`: 12.0
── Failure ('test-dday.R:9:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-05", d = 0, x = "x") (`actual`) not identical to 6 (`expected`).
`actual`: 0.0
`expected`: 6.0
── Failure ('test-dday.R:10:3'): dday works ────────────────────────────────────
dday(df, "2023-08-01", d = 1, x = "x") (`actual`) not identical to 13 (`expected`).
`actual`: 0.0
`expected`: 13.0
── Failure ('test-ytd.R:12:3'): ytd works ──────────────────────────────────────
ytd(df, "2023-08-01", x = "x") (`actual`) not equal to dday(df, "2023-08-01", x = "x") (`expected`).
`actual`: 10.0
`expected`: 0.0
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 45 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.0.3
Check: tests
Result: ERROR
Running 'testthat.R' [2s]
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(iperform)
>
> test_check("iperform")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 45 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-dday.R:7:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-03", x = "x") (`actual`) not identical to 8 (`expected`).
`actual`: 0.0
`expected`: 8.0
── Failure ('test-dday.R:8:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-05", d = -1, x = "x") (`actual`) not identical to 12 (`expected`).
`actual`: 0.0
`expected`: 12.0
── Failure ('test-dday.R:9:3'): dday works ─────────────────────────────────────
dday(df, "2023-08-05", d = 0, x = "x") (`actual`) not identical to 6 (`expected`).
`actual`: 0.0
`expected`: 6.0
── Failure ('test-dday.R:10:3'): dday works ────────────────────────────────────
dday(df, "2023-08-01", d = 1, x = "x") (`actual`) not identical to 13 (`expected`).
`actual`: 0.0
`expected`: 13.0
── Failure ('test-ytd.R:12:3'): ytd works ──────────────────────────────────────
ytd(df, "2023-08-01", x = "x") (`actual`) not equal to dday(df, "2023-08-01", x = "x") (`expected`).
`actual`: 10.0
`expected`: 0.0
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 45 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64