Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples don't work #12

Open
RThul opened this issue Apr 17, 2024 · 0 comments
Open

Examples don't work #12

RThul opened this issue Apr 17, 2024 · 0 comments

Comments

@RThul
Copy link

RThul commented Apr 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant