Skip to content

bug: commonallplayers not working #183

@skdeshpande91

Description

@skdeshpande91

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

nba_commonallplayers()

Describe the bug

Function does not work: I anticipate there's an issue with the `request_with_proxy' calls here

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

test <- nba_commonallplayers()

Expected behavior
Expected a named list containing a data frame CommonAllPlayers.

Error message / output

Invalid arguments or common all players data for 2025-26 available!

This error seems to be thrown by this part of the source code

Session Info
Paste the output of sessionInfo():

R version 4.5.2 (2025-10-31)
Platform: aarch64-apple-darwin20
Running under: macOS Sequoia 15.7.3

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.5-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.1

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Chicago
tzcode source: internal

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

other attached packages:
[1] hoopR_3.0.0

loaded via a namespace (and not attached):
 [1] crayon_1.5.3          vctrs_0.7.2          
 [3] httr_1.4.8            cli_3.6.5            
 [5] rlang_1.1.7           stringi_1.8.7        
 [7] otel_0.2.0            purrr_1.2.1          
 [9] generics_0.1.4        jsonlite_2.0.0       
[11] data.table_1.18.0     RcppParallel_5.1.11-1
[13] glue_1.8.0            janitor_2.2.1        
[15] rappdirs_0.3.3        snakecase_0.11.1     
[17] tibble_3.3.1          lifecycle_1.0.5      
[19] httr2_1.2.2           stringr_1.6.0        
[21] compiler_4.5.2        rvest_1.0.5          
[23] dplyr_1.2.0           timechange_0.4.0     
[25] Rcpp_1.1.1            pkgconfig_2.0.3      
[27] tidyr_1.3.2           rstudioapi_0.17.1    
[29] R6_2.6.1              tidyselect_1.2.1     
[31] curl_7.0.0            pillar_1.11.1        
[33] magrittr_2.0.4        tools_4.5.2          
[35] lubridate_1.9.5       xml2_1.5.2 

Additional context

  • hoopR version: 3.0.0
  • R version: 4.5.2
  • OS: macOS Sequoia 15.7.3

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