Last updated on 2024-11-18 10:53:19 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.1 | 7.55 | 99.36 | 106.91 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.1 | 5.60 | 69.61 | 75.21 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.1 | 180.09 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.1 | 166.01 | OK | |||
r-devel-windows-x86_64 | 1.1.1 | 8.00 | 164.00 | 172.00 | ERROR | |
r-patched-linux-x86_64 | 1.1.1 | 7.91 | 91.60 | 99.51 | OK | |
r-release-linux-x86_64 | 1.1.1 | 6.97 | 94.37 | 101.34 | OK | |
r-release-macos-arm64 | 1.1.1 | 90.00 | OK | |||
r-release-macos-x86_64 | 1.1.1 | 136.00 | OK | |||
r-release-windows-x86_64 | 1.1.1 | 9.00 | 132.00 | 141.00 | OK | |
r-oldrel-macos-arm64 | 1.1.1 | 97.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.1 | 131.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.1 | 12.00 | 161.00 | 173.00 | OK |
Version: 1.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [83s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(sleeperapi)
>
> test_check("sleeperapi")
[1] "NFL data generation successful."
[1] "NFL data generation successful."
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 106 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_draft_pick_trades.R:5:3'): Invalid league ID returns message informing user ──
Error: lexical error: invalid char in json text.
<!DOCTYPE html> <html lang="en"
(right here) ------^
Backtrace:
▆
1. ├─testthat::expect_message(get_draft_pick_trades(-777), "No data found - was the draft ID entered correctly?") at test-get_draft_pick_trades.R:5:3
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─sleeperapi::get_draft_pick_trades(-777)
7. └─jsonlite::fromJSON(...)
8. └─jsonlite:::parse_and_simplify(...)
9. └─jsonlite:::parseJSON(txt, bigint_as_char)
10. └─jsonlite:::parse_string(txt, bigint_as_char)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 106 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64