* using log directory ‘/data/gannet/ripley/R/packages/tests-noLD/sleeperapi.Rcheck’ * using R Under development (unstable) (2025-04-13 r88141) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘sleeperapi/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘sleeperapi’ version ‘1.1.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘sleeperapi’ can be installed ... [13s/20s] OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [18s/27s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [1m/22m] [1m/22m] ERROR 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 2 | WARN 1 | SKIP 0 | PASS 105 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_all_nfl_players.R:10:3'): Throws error if clean is not of type logical ── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.sleeper.app]: Operation too slow. Less than 1 bytes/sec transferred the last 600 seconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-get_all_nfl_players.R:10:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─sleeperapi::get_all_nfl_players(clean = TRUE) 5. │ ├─jsonlite::fromJSON(...) 6. │ ├─httr::content(...) 7. │ │ ├─base::stopifnot(is.response(x)) 8. │ │ └─httr:::is.response(x) 9. │ └─httr::GET(paste0("https://api.sleeper.app/v1/players/nfl")) 10. │ └─httr:::request_perform(req, hu$handle$handle) 11. │ ├─httr:::request_fetch(req$output, req$url, handle) 12. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 13. │ └─curl::curl_fetch_memory(url, handle = handle) 14. └─curl:::raise_libcurl_error(...) ── Error ('test-get_weekly_matchups.R:15:3'): good function call with 'all' type returns list ── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.sleeper.app]: Operation too slow. Less than 1 bytes/sec transferred the last 600 seconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-get_weekly_matchups.R:15:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─sleeperapi::get_weekly_matchups(688281863499907072, type = "all") 5. │ ├─base::suppressMessages(get_matchups(league_id, matchup_week)) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─sleeperapi::get_matchups(league_id, matchup_week) 8. │ ├─jsonlite::fromJSON(...) 9. │ ├─httr::content(...) 10. │ │ ├─base::stopifnot(is.response(x)) 11. │ │ └─httr:::is.response(x) 12. │ └─httr::GET(...) 13. │ └─httr:::request_perform(req, hu$handle$handle) 14. │ ├─httr:::request_fetch(req$output, req$url, handle) 15. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 16. │ └─curl::curl_fetch_memory(url, handle = handle) 17. └─curl:::raise_libcurl_error(...) [ FAIL 2 | WARN 1 | SKIP 0 | PASS 105 ] Error: Test failures Execution halted * checking PDF version of manual ... [8s/10s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-noLD/sleeperapi.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 24:22.52, 135.17 + 12.32