Closed jrbarber37 closed 1 year ago
Can you post the exact code you used to call it?
The first line pulls back Game_IDs 5356086,5357781,5362445. Thanks!
Fairfield_schedule_2022_23 <- get_team_schedule(season = "2022-23", team.name = "Fairfield") Fairfield_play_by_play_2022_23 <- get_play_by_play(Fairfield_schedule_2022_23$Game_ID)
Full most recent error:
[1] "Error with game id: 5356086 // \033[1m\033[33mError\033[39m in \033[38;5;235m\033[48;5;253mvctrs::vec_as_subscript2()
\033[49m\033[39m:\033[22m\n\033[38;5;232m\033[33m!\033[38;5;232m ...
must be empty.\n\033[31mx\033[38;5;232m Problematic argument:\n\033[36m\033[38;5;232m call = error_call\033[39m\n"
[1] "Error with game id: 5357781 // \033[1m\033[33mError\033[39m in \033[38;5;235m\033[48;5;253mvctrs::vec_as_subscript2()
\033[49m\033[39m:\033[22m\n\033[38;5;232m\033[33m!\033[38;5;232m ...
must be empty.\n\033[31mx\033[38;5;232m Problematic argument:\n\033[36m\033[38;5;232m call = error_call\033[39m\n"
[1] "Error with game id: 5362445 // \033[1m\033[33mError\033[39m in \033[38;5;235m\033[48;5;253mvctrs::vec_as_subscript2()
\033[49m\033[39m:\033[22m\n\033[38;5;232m\033[33m!\033[38;5;232m ...
must be empty.\n\033[31mx\033[38;5;232m Problematic argument:\n\033[36m*\033[38;5;232m call = error_call\033[39m\n"
Is there any update on this issue? Do you need any additional information from me?
Thanks John
On Fri, Nov 18, 2022, 2:21 PM Evan Miyakawa @.***> wrote:
Can you post the exact code you used to call it?
— Reply to this email directly, view it on GitHub https://github.com/jflancer/bigballR/issues/31#issuecomment-1320435876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUIJZHYFSSQ73S2VTAY5QOLWI7JL3ANCNFSM6AAAAAASEZUHOU . You are receiving this because you authored the thread.Message ID: @.***>
It works fine for me with this script
library(bigballR)
Fairfield_schedule_2022_23 <- get_team_schedule(season = "2022-23", team.name = "Fairfield")
Fairfield_play_by_play_2022_23 <- get_play_by_play(Fairfield_schedule_2022_23$Game_ID)
Fairfield_play_by_play_2022_23
Thanks ! I'll check it out tomorrow.
On Wed, Nov 30, 2022, 7:20 PM Evan Miyakawa @.***> wrote:
It works fine for me with this script
library(bigballR)
Fairfield_schedule_2022_23 <- get_team_schedule(season = "2022-23", team.name = "Fairfield") Fairfield_play_by_play_2022_23 <- get_play_by_play(Fairfield_schedule_2022_23$Game_ID) Fairfield_play_by_play_2022_23
[image: Screen Shot 2022-11-30 at 4 20 34 PM] https://user-images.githubusercontent.com/25516384/204936041-b19585c7-d707-4553-8ab2-9aaad8944bca.png
— Reply to this email directly, view it on GitHub https://github.com/jflancer/bigballR/issues/31#issuecomment-1332931269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUIJZHYHMH6UJKBV6H5U33DWK7VONANCNFSM6AAAAAASEZUHOU . You are receiving this because you authored the thread.Message ID: @.***>
When I run your script, I still get the same error for each game.
[1] "Error with game id: 5356086 // \033[1m\033[33mError\033[39m in
\033[38;5;235m\033[48;5;253mvctrs::vec_as_subscript2()
\033[49m\033[39m:\033[22m\n\033[38;5;232m\033[33m!\033[38;5;232m
...
must be empty.\n\033[31mx\033[38;5;232m Problematic
argument:\n\033[36m*\033[38;5;232m call = error_call\033[39m\n"
when I run this: devtools::install_github("jflancer/bigballR"), I get:
Skipping install of 'bigballR' from a github remote, the SHA1 (baa8f5a9)
has not changed since last install.
Use force = TRUE
to force installation
Should I do a forced installation?
On Wed, Nov 30, 2022 at 7:20 PM Evan Miyakawa @.***> wrote:
It works fine for me with this script
library(bigballR)
Fairfield_schedule_2022_23 <- get_team_schedule(season = "2022-23", team.name = "Fairfield") Fairfield_play_by_play_2022_23 <- get_play_by_play(Fairfield_schedule_2022_23$Game_ID) Fairfield_play_by_play_2022_23
[image: Screen Shot 2022-11-30 at 4 20 34 PM] https://user-images.githubusercontent.com/25516384/204936041-b19585c7-d707-4553-8ab2-9aaad8944bca.png
— Reply to this email directly, view it on GitHub https://github.com/jflancer/bigballR/issues/31#issuecomment-1332931269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUIJZHYHMH6UJKBV6H5U33DWK7VONANCNFSM6AAAAAASEZUHOU . You are receiving this because you authored the thread.Message ID: @.***>
My issue was that I had an older version of the vctrs package.
Thanks John
On Thu, Dec 1, 2022 at 7:54 AM john barber @.***> wrote:
When I run your script, I still get the same error for each game. [1] "Error with game id: 5356086 // \033[1m\033[33mError\033[39m in \033[38;5;235m\033[48;5;253m
vctrs::vec_as_subscript2()
\033[49m\033[39m:\033[22m\n\033[38;5;232m\033[33m!\033[38;5;232m...
must be empty.\n\033[31mx\033[38;5;232m Problematic argument:\n\033[36m*\033[38;5;232m call = error_call\033[39m\n"when I run this: devtools::install_github("jflancer/bigballR"), I get: Skipping install of 'bigballR' from a github remote, the SHA1 (baa8f5a9) has not changed since last install. Use
force = TRUE
to force installationShould I do a forced installation?
On Wed, Nov 30, 2022 at 7:20 PM Evan Miyakawa @.***> wrote:
It works fine for me with this script
library(bigballR)
Fairfield_schedule_2022_23 <- get_team_schedule(season = "2022-23", team.name = "Fairfield") Fairfield_play_by_play_2022_23 <- get_play_by_play(Fairfield_schedule_2022_23$Game_ID) Fairfield_play_by_play_2022_23
[image: Screen Shot 2022-11-30 at 4 20 34 PM] https://user-images.githubusercontent.com/25516384/204936041-b19585c7-d707-4553-8ab2-9aaad8944bca.png
— Reply to this email directly, view it on GitHub https://github.com/jflancer/bigballR/issues/31#issuecomment-1332931269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUIJZHYHMH6UJKBV6H5U33DWK7VONANCNFSM6AAAAAASEZUHOU . You are receiving this because you authored the thread.Message ID: @.***>
Get the following error calling get_play_by_play for all Game_IDs. Using same code as for 2021_22.
1] "Error with game id: 5356080 // \033[1m\033[33mError\033[39m in \033[38;5;235m\033[48;5;253m
vctrs::vec_as_subscript2()
\033[49m\033[39m:\033[22m\n\033[38;5;232m\033[33m!\033[38;5;232m...
must be empty.\n\033[31mx\033[38;5;232m Problematic argument:\n\033[36m*\033[38;5;232m call = error_call\033[39m\n"