andreweatherman / cbbdata

https://cbbdata.aweatherman.com
Other
12 stars 2 forks source link

Examples don't work #12

Open RThul opened 4 months ago

RThul commented 4 months ago

Hi! I have installed the package and tried the examples. However, I get numerous error messages. For example

cbbdata::cbd_torvik_game_factors(year = 2024, team = 'Duke') API Key set!Null data.table (0 rows and 0 cols) Warning message: Failed to parse file with arrow::read_parquet()() from https://www.cbbdata.com/api/torvik/game/factors?year=2024&team=Duke&key=WYrGI0JD-QIOizn5gnEhwhhatSiNaT9G52rwGDfK2IOhVZhIbxTP5zSu_QkEpMWMa8TxwAL0mYWdLtk-G0TM_Ds_Etnh046Ivk4WB6xuRKwxxb-C5r34XrBiecIOMg3mCGKTjbwFa6StEpz4hm7adfsgkbxifDu8ENCa3YKulmc

or

cbbdata::cbd_torvik_team_factors(year = 2024, no_bias = TRUE) Error in distinct(): ! Must use existing variables. ✖ team not found in .data. ✖ conf not found in .data.

For info, I am running Mac OS 14.4.1 and R 4.3.2. Apologies if I misunderstood the install instructions and how to get the package to work.