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

Error #125

Open
TommasoDelPrete opened this issue Jul 14, 2023 · 1 comment
Open

Error #125

TommasoDelPrete opened this issue Jul 14, 2023 · 1 comment

Comments

@TommasoDelPrete
Copy link

Every time I run a function of nbastatR package it returns me an error.
It's strange because I have always used the pacakge without any issues.

  1. first example:
    df<-bref_players_stats(
    seasons = c(2023),
    tables = c( "totals"),
    include_all_nba = F,
    only_totals = TRUE,
    nest_data = FALSE,
    assign_to_environment = TRUE,
    widen_data = TRUE,
    join_data = TRUE,
    return_message = TRUE
    )

Error in mutate():
ℹ In argument: yearSeason = slugSeason %>% substr(1, 4) %>% as.numeric() + 1.
Caused by error in substr():
! object 'slugSeason' not found
Run rlang::last_trace() to see where the error occurred.
Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (https://d2cwpp38twqe55.cloudfront.net/short/inc/teams_search_list.csv)

  1. second example

bref_tms <- dictionary_bref_teams()
Error in open.connection(3L, "rb") :
Could not resolve host: d2cwpp38twqe55.cloudfront.net

@sravanpannala
Copy link
Contributor

I have the same issue

bref <- dictionary_bref_teams()
Error in open.connection(3L, "rb") : 
  Could not resolve host: d2cwpp38twqe55.cloudfront.net

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

2 participants