JaseZiv / worldfootballR

A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat
https://jaseziv.github.io/worldfootballR/
444 stars 60 forks source link

Error in fotmob_get_league_matches() #206

Closed smhrt08 closed 1 year ago

smhrt08 commented 1 year ago

I have been encountering the errors when trying to use this function. Even when using the examples in the help it throws the same error. Wasn't sure if maybe the structure of the response had changed or something, or if it was user error on my part.

fotmob_get_league_matches(league_id = 47)
Error in clean_names.default(.) : 
  No `clean_names()` method exists for the class list
Consider janitor::make_clean_names() for other cases of manipulating vectors of names.
tonyelhabr commented 1 year ago

What version of {worldfootballR} do you have? Can you ensure that you have at least 0.6.1.5000? You can use remotes::install_github("JaseZiv/worldfootballR") to get the latest version of the package.

smhrt08 commented 1 year ago

I had 0.6.1, but the version update you sent worked. Thank you!