Running ‘testthat.R’ [1s/104s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(itscalledsoccer)
  > 
  > test_check("itscalledsoccer")
    Gathering playersError in `source_file()`:
  ! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/itscalledsoccer.Rcheck/tests/testthat/helpers.R"
  Caused by error:
  ! Unknown http status code: 524
  Backtrace:
       ▆
    1. ├─testthat::test_check("itscalledsoccer")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_helpers(".", env)
    7. │           └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       └─AmericanSoccerAnalysis$new() at tests/testthat/helpers.R:1:0
   15. │                         └─itscalledsoccer (local) initialize(...)
   16. │                           └─itscalledsoccer:::get_entity(self, "player")
   17. │                             └─itscalledsoccer:::.execute_query(self, url)
   18. │                               └─itscalledsoccer:::.single_request(self, url, query)
   19. │                                 └─itscalledsoccer:::.stop_for_status(r)
   20. │                                   └─httr::stop_for_status(r)
   21. │                                     ├─base::stop(http_condition(x, "error", task = task, call = call))
   22. │                                     └─httr::http_condition(x, "error", task = task, call = call)
   23. │                                       └─httr::http_status(status)
   24. │                                         └─base::stop("Unknown http status code: ", status, call. = FALSE)
   25. └─base::.handleSimpleError(...)
   26.   └─testthat (local) h(simpleError(msg, call))
   27.     └─rlang::abort(...)
  Execution halted