Changelog
Source:NEWS.md
nflseedR (development version)
- Fixed error in
simulate_nfl()
where it crashes because the “fake schedule” isn’t a tibble. (#43) - The
summary
methodsummary.nflseedR_simulation()
explicitly sets the columns width of the logo column because those columns are hidden in some unclear scenarios. - New function
nfl_standings()
for high efficient standings calculation. The functionscompute_division_ranks()
,compute_conference_seeds()
, andcompute_draft_order()
will be deprecated in a future release. - The
summary
methodsummary.nflseedR_simulation()
now requires gt version v0.9.0 or higher to avoid warnings about deprecated arguments.
nflseedR 1.2.0
CRAN release: 2023-01-05
-
simulate_nfl()
gained the new argumentsim_include
to allow more access to what is actually being simulated. This makes it possible skip playoff simulation or the (possibly heavy) computation of draft order. (#34) - The
summary
methodsummary.nflseedR_simulation()
now hides columns where all values areNA
. This is useful ifsimulate_nfl()
skips the postseason or draft order. The method also re-formats the number of simulations in the subtitle, e.g. from “10000” to “10k” (this requires scales >= 1.2.0, but it is a good idea to update scales anyways). (#35) -
simulate_nfl()
now uses data.table to combine simulation rounds data. This is a significant performance improvement. The returned list"sim_params"
now includes the package version of nflseedR (for debugging) and the current system time when the simulation was finished. (#36) - Lots of internal improvements to reduce package dependencies and messaging. (#36)
- The
summary
methodsummary.nflseedR_simulation()
now usesfmt_pct_special()
to format probability strings to avoid the impression of overconfidence by rounding to integer percentages. (#37)
nflseedR 1.1.0
CRAN release: 2022-07-07
- Added the data frame
game_summary
to the output ofsimulate_nfl()
which aggregates matchups across all simulated seasons (#24) - Updated the description of some variables in
load_sharpe_games()
(#24) - The output of
simulate_nfl()
is now of classnflseedR_simulation
which allows the implementation of asummary()
method that computes agt()
table of the simulation summary data frame. (#26) - The standings data frame calculated by
compute_division_ranks()
now outputs losses and ties as well. (#27)
nflseedR 1.0.2
CRAN release: 2021-04-10
- Improved error handling of the function
load_sharpe_games()
for CRAN tests
nflseedR 1.0.1
CRAN release: 2021-03-31
Added support for a fake schedule for simulating the upcoming season before the NFL has released the official schedule.
updated the documentation of the function
load_sharpe_games()
with the new columnsaway_qb_id
,home_qb_id
,away_qb_name
andhome_qb_name
.