Skip to content

Commit

Permalink
Check fixes for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Mar 2, 2024
1 parent 6ec5bf5 commit 16eceb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Minor patch for upcoming release of ggdist v3.3.1
## Improvements

* Added (scaled) pinball loss metrics to `interval_accuracy_measures` (#379).
* Improved use of random seed in parallel modeling and forecasting (#384).
* Improved use of random seed in parallel modelling and forecasting (#384).
* Documentation improvements

# fabletools 0.4.0
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-accuracy.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test_that("Out-of-sample accuracy", {

acc <- accuracy(fbl, us_deaths, measures = list(interval_accuracy_measures, distribution_accuracy_measures))
expect_equal(acc$.type, "Test")
expect_equal(colnames(acc), c(".model", ".type", "winkler", "percentile", "CRPS"))
expect_equal(colnames(acc), c(".model", ".type", "winkler", "pinball", "scaled_pinball", "percentile", "CRPS"))
expect_true(!any(map_lgl(acc, compose(any, is.na))))

acc_multi <- accuracy(fbl_multi, lung_deaths_long)
Expand Down

0 comments on commit 16eceb6

Please sign in to comment.