I’m pleased to announce that fitzRoy v1.3.0 has just been accepted to CRAN!
This update mostly contains bug fixes. You can read about them below.
Deprecated functions
All of the get_ family of functions are now formally following the deprecation lifecycle used in the {lifecycle} package. That is, there is now a formal warning for using these functions. The next version of fitzRoy will hard deprecate these functions, where calling them will return an error. Given these have been technically deprecated since v1.0.0, this is plenty of warning.
Fixed an issue with fetch_player_stats_afl where an error was being returned for the new season. It now returns NULL if there is no data for the specified season
fetch_player_stats_afl(2023, round_number =1)
ℹ Fetching match ids
✔ Fetching match ids ... done
ℹ Finding player stats for 9 matches.
✔ Finding player stats for 9 matches. ... done
ℹ No completed matches found
NULL
Debut players in fetch_player_stats_afltables
Fixed an annoying bug where players who debuted in 2023 were getting assigned an ID of 0 in AFL Tables Data. This is now resolved and all ID’s should be correctly assigned for new players
df <-fetch_player_stats_afltables(2022)
ℹ Looking for data from 2022-01-01 to 2022-12-31
ℹ fetching cached data from <]8;;github.comgithub.com]8;;>
✔ fetching cached data from <]8;;github.comgithub.com]8;;> ... done