Skip to content

bug: Most of the functions beginning with 'nba_' are not working. (Thanks for the help!!!) #185

@RyanMiele

Description

@RyanMiele

Function and Parameters
Which hoopR function(s) are affected? Include the exact parameters used.

nba_commonallplayers()
nba_leaguedashplayerbiostats(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))

Describe the bug
Getting the following error: 'Invalid arguments or no league dashboard player bio stats data for 2025-26 available!'

Reprex (Reproducible Example)
Please include a minimal reproducible example using reprex::reprex():

# 

Expected behavior
A clear and concise description of what you expected to happen.

Error message / output

# 2026-04-15 15:07:42.705041: Invalid arguments or no league dashboard player bio stats data for 2025-26 available!

Session Info
Paste the output of sessionInfo():

# R version 4.4.2 (2024-10-31)
Platform: x86_64-apple-darwin20
Running under: macOS Sonoma 14.7.4

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0

locale:

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] hoopR_3.0.0

loaded via a namespace (and not attached):
 [1] jsonlite_2.0.0        dplyr_1.2.1           compiler_4.4.2        promises_1.3.2        tidyselect_1.2.1     
 [6] Rcpp_1.1.1            xml2_1.5.2            stringr_1.6.0         snakecase_0.11.1      later_1.4.1          
[11] tidyr_1.3.2           fastmap_1.2.0         R6_2.6.1              generics_0.1.4        curl_7.0.0           
[16] httr2_1.2.2           tibble_3.3.1          janitor_2.2.1         lubridate_1.9.5       pillar_1.11.1        
[21] rlang_1.2.0           websocket_1.4.2       stringi_1.8.7         RcppParallel_5.1.11-2 timechange_0.4.0     
[26] cli_3.6.6             magrittr_2.0.5        ps_1.8.1              rvest_1.0.5           processx_3.8.5       
[31] rstudioapi_0.18.0     rappdirs_0.3.4        lifecycle_1.0.5       chromote_0.4.0        vctrs_0.7.3          
[36] glue_1.8.0            data.table_1.18.2.1   purrr_1.2.2           httr_1.4.8            tools_4.4.2          
[41] pkgconfig_2.0.3      

Additional context
MacOS Sonoma 14.7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions