diff --git a/NEWS.md b/NEWS.md index 7d24e5be..5b34aa79 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/tests/testthat/test-accuracy.R b/tests/testthat/test-accuracy.R index b7212d13..06ab4c2e 100644 --- a/tests/testthat/test-accuracy.R +++ b/tests/testthat/test-accuracy.R @@ -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)