Last updated on 2025-04-25 06:49:44 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.2 | 7.58 | 100.94 | 108.52 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.2 | 4.50 | 70.47 | 74.97 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.2 | 177.28 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.2 | 162.79 | OK | |||
r-devel-windows-x86_64 | 1.1.2 | 12.00 | 130.00 | 142.00 | OK | |
r-patched-linux-x86_64 | 1.1.2 | 7.74 | 97.09 | 104.83 | OK | |
r-release-linux-x86_64 | 1.1.2 | 7.16 | 95.87 | 103.03 | OK | |
r-release-macos-arm64 | 1.1.2 | 95.00 | OK | |||
r-release-macos-x86_64 | 1.1.2 | 145.00 | OK | |||
r-release-windows-x86_64 | 1.1.2 | 11.00 | 131.00 | 142.00 | OK | |
r-oldrel-macos-arm64 | 1.1.2 | 87.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.2 | 102.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.2 | 14.00 | 154.00 | 168.00 | OK |
Version: 1.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [27s/80s]
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.R:5:3'): Invalid draft ID returns nothing ────────────
Error: lexical error: invalid char in json text.
<!DOCTYPE html> <html lang="en"
(right here) ------^
Backtrace:
▆
1. ├─testthat::expect_equal(get_draft(-777), NULL) at test-get_draft.R:5:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─sleeperapi::get_draft(-777)
5. └─jsonlite::fromJSON(...)
6. └─jsonlite:::parse_and_simplify(...)
7. └─jsonlite:::parseJSON(txt, bigint_as_char)
8. └─jsonlite:::parse_string(txt, bigint_as_char)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 106 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc