Last updated on 2025-11-14 00:50:47 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.1 | 1.59 | 22.49 | 24.08 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.1 | 1.37 | 18.88 | 20.25 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.0.1 | 34.03 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.0.1 | 35.19 | ERROR | |||
| r-devel-windows-x86_64 | 1.0.1 | 3.00 | 42.00 | 45.00 | OK | |
| r-patched-linux-x86_64 | 1.0.1 | 1.43 | 20.48 | 21.91 | OK | |
| r-release-linux-x86_64 | 1.0.1 | 1.65 | 20.58 | 22.23 | OK | |
| r-release-macos-arm64 | 1.0.1 | 1.00 | 13.00 | 14.00 | OK | |
| r-release-macos-x86_64 | 1.0.1 | 1.00 | 21.00 | 22.00 | OK | |
| r-release-windows-x86_64 | 1.0.1 | 3.00 | 41.00 | 44.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.1 | 1.00 | 12.00 | 13.00 | OK | |
| r-oldrel-macos-x86_64 | 1.0.1 | 1.00 | 27.00 | 28.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.1 | 3.00 | 47.00 | 50.00 | OK |
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(howzatR)
>
> test_check("howzatR")
Saving _problems/test-batting_basics-7.R
Saving _problems/test-batting_basics-22.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
Backtrace:
▆
1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
2. └─testthat:::check_bool(ok)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
Backtrace:
▆
1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
2. └─testthat:::check_bool(ok)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc