Changes in version 1.0.7 (2026-03-04) - Further improvements to internal cache handling by CRAN request. (#56) Changes in version 1.0.6 (2026-02-17) - The internal cache is now aware of changed model formats and forces a model update for compatibility with xgboost (>= v3). (#53) Thank you to @isaactpetersen, and @mrcaseb for their questions, feedback, and contributions towards this release. Changes in version 1.0.5 (2026-02-10) - Stop letting roof break things - New location for pre-computed numbers - Re-work field goal model. Takes into account improvements in accuracy (especially on long kicks) and gives probability > 0 on kicks of over 70 yards - Update models and internals to be compatible with newer xgboost (>= v3) versions. (#41) - nfl4th now requires R 4.1 to allow the package to use R's native pipe |> operator. This follows the Tidyverse R version support rules. (#43) Changes in version 1.0.4 (2023-08-21) - Create package cache directory with tools::R_user_dir() because CRAN doesn't like rappdirs::user_cache_dir() Changes in version 1.0.3 (2023-08-10) - Re-export xgboost models to get rid of annoying warning message - Tweak how close to end of game it will calculate probabilities - Required data isn't loaded directly with the package. Instead the download is triggered when necessary and cached in a local package cache. The cache can be cleared with the new function nfl4th_clear_cache(). The package resets the cache partly when loaded. This can be prevented with options(nfl4th.keep_games = TRUE). - Update win probability model. Instead of only using nflfastR, it stacks nflfastR with another model - Fixup cache paths. - Remove tidyverse from Suggests Changes in version 1.0.2 (2022-08-11) - Nothing changed. Forced update to documentation to not get kicked off CRAN Changes in version 1.0.1 (2021-10-16) - Fix for aborted plays on punts being called going for it - Re-categorized some plays as unknown (i.e., NA) go: False Start or defensive encroachment along with being lined up to go for it (run formation or pass formation) - Added fast argument to load_4th_pbp() which allows for loading pre-computed go_boost rather than needing to calculate it Changes in version 1.0.0 (2021-03-17) - Initial public release Changes in version 0.0.0.9000 - Release as package - Fixes with touchdowns. Instead of granting 7 points, assumes teams choose best option between PAT or 2pt and give pre-conversion attempt WP accordingly - Fix for punt WP at the end of first half being too high - Add logic for TD/FG decision on the last play of the first half - Add possibility for muffed punt - Reduce field goal chances on very long field goals