Last updated on 2025-12-03 05:50:56 CET.
| Package | ERROR | OK |
|---|---|---|
| nhlscraper | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in ‘nhlscraper-Ex.R’ failed
The error most likely occurred in:
> ### Name: spotlight_players
> ### Title: Access the spotlight players
> ### Aliases: spotlight_players
>
> ### ** Examples
>
> spotlight_players <- spotlight_players()
Error in `httr2::req_perform()`:
! HTTP 502 Bad Gateway.
Backtrace:
▆
1. └─nhlscraper::spotlight_players()
2. └─nhlscraper:::nhl_api(path = "v1/player-spotlight", type = "w")
3. └─httr2::req_perform(req)
4. └─httr2:::handle_resp(req, resp, error_call = error_call)
5. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
6. ├─rlang::catch_cnd(...)
7. │ ├─rlang::eval_bare(...)
8. │ ├─base::tryCatch(...)
9. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. │ └─base::force(expr)
13. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc