sportsdataverse / hoopR

An R package to quickly obtain clean and tidy men's basketball play by play data.
http://hoopr.sportsdataverse.org/
Other
81 stars 17 forks source link

Using Posit Cloud with hoopR - having issues #142

Open thaydye opened 5 months ago

thaydye commented 5 months ago

Hi,

I've been using hoopR with local workstation on Rstudio. I recently tried to run my scripts on Posit Cloud, which is a Rstudio on the cloud. I installed the hoopR package and updated it to the latest version. My issue is that some functions work and some do not. I am very confused as what might be the issue. Has anyone seen an issue like this as well?

As can be seen below, the nba_todays_scoreboard() function works fine, but the nba_scoreboardv3() function has an issue. I also tried nba_leaguestandings() function and having an issue.

I am confused as it works fine on my local station but limited on the cloud.

nba_scoreboardv3(league_id = "00",game_date = "2023-03-26") 2024-01-24 21:17:39.060068: Invalid arguments or no scoreboard v3 data for 2023-03-26 available! Error in nba_scoreboardv3(league_id = "00", game_date = "2023-03-26") : object 'games' not found today_gamesandscores<-nba_todays_scoreboard()

Standings<-nba_leaguestandings(league_id='00',season=year_to_season(most_recent_nba_season()-1)) 2024-01-24 21:34:29.279034: Invalid arguments or no league standings data for 2023-24 available! Error in nba_leaguestandings(league_id = "00", season = year_to_season(most_recent_nba_season() - : object 'df_list' not found

mpcen commented 4 months ago

@thaydye ever figure this out?

thaydye commented 4 months ago

I wasn't able to figure it out. I am pretty sure it's an issue with Rcloud/posit, because all the functions work fine on my local computer.

Do you by chance know how to fix it? Maybe a setting or something I missed?

On Mon, Feb 19, 2024, 9:29 AM Manny Martinez @.***> wrote:

@thaydye https://github.com/thaydye ever figure this out?

— Reply to this email directly, view it on GitHub https://github.com/sportsdataverse/hoopR/issues/142#issuecomment-1952925137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVMAULSJGE27SLYR34TCDLYUODWZAVCNFSM6AAAAABCJO2YUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSHEZDKMJTG4 . You are receiving this because you were mentioned.Message ID: @.***>

mpcen commented 3 months ago

having the same issue. Works fine on my local computer but doesn't work on a remote vm

thaydye commented 3 months ago

I wanted to send a message to Posit Cloud to ask them to look into it but I couldn't find an email address for customer support. Were you able to find any custom support information?

On Sun, Mar 17, 2024, 8:23 AM Manny Martinez @.***> wrote:

having the same issue. Works fine on my local computer but doesn't work on a remote vm

— Reply to this email directly, view it on GitHub https://github.com/sportsdataverse/hoopR/issues/142#issuecomment-2002507895, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVMAULMGSO7CNFMQGSM4CDYYWYQJAVCNFSM6AAAAABCJO2YUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGUYDOOBZGU . You are receiving this because you were mentioned.Message ID: @.***>

mpcen commented 3 months ago

I wanted to send a message to Posit Cloud to ask them to look into it but I couldn't find an email address for customer support. Were you able to find any custom support information? On Sun, Mar 17, 2024, 8:23 AM Manny Martinez @.> wrote: having the same issue. Works fine on my local computer but doesn't work on a remote vm — Reply to this email directly, view it on GitHub <#142 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVMAULMGSO7CNFMQGSM4CDYYWYQJAVCNFSM6AAAAABCJO2YUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGUYDOOBZGU . You are receiving this because you were mentioned.Message ID: @.>

I haven't used Posit Cloud but im using Azure VM's. I think it has something to do with Outbound Network settings. Will look more into it tonight. I'd imagine its something similar