CRAN Package Check Results for Package sleeperapi

Last updated on 2024-05-17 11:56:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 3.46 35.44 38.90 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 7.38 95.82 103.20 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 181.78 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 170.30 OK
r-devel-windows-x86_64 1.1.0 10.00 136.00 146.00 OK
r-patched-linux-x86_64 1.0.4 2.90 32.77 35.67 OK
r-release-linux-x86_64 1.0.4 3.23 32.17 35.40 OK
r-release-macos-arm64 1.1.0 85.00 OK
r-release-macos-x86_64 1.1.0 156.00 OK
r-release-windows-x86_64 1.0.4 5.00 53.00 58.00 OK
r-oldrel-macos-arm64 1.1.0 90.00 OK
r-oldrel-macos-x86_64 1.1.0 164.00 OK
r-oldrel-windows-x86_64 1.1.0 10.00 180.00 190.00 ERROR

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running 'testthat.R' [90s] 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_league_users.R:5:3'): Invalid league ID returns a message informing user ── Error: lexical error: invalid char in json text. <!DOCTYPE html> <html lang="en" (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_message(get_league_users(-777), "No data found - was the league ID entered correctly?") at test-get_league_users.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_league_users(-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-oldrel-windows-x86_64