Skip to content

Commit 3c12fb7

Browse files
committed
fix: test
1 parent 4c2a84f commit 3c12fb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/layer_residual_quantiles.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ slather.layer_residual_quantiles <-
127127
if (any(sapply(r$dstn, is.na))) {
128128
cli::cli_abort(c(
129129
"Residual quantiles could not be calculated due to missing residuals.",
130-
i = "This may be due to `n_train` < `ahead` in your {.cls epi_recipe}."
130+
i = "This may be due to `n_train` < `ahead` in your {.cls epi_recipe}."
131131
))
132132
}
133133

tests/testthat/test-layer_residual_quantiles.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ test_that("Canned forecasters work with / without", {
102102
test_that("flatline_forecaster correctly errors when n_training < ahead", {
103103
expect_error(
104104
flatline_forecaster(jhu, "death_rate", args_list = flatline_args_list(ahead = 10, n_training = 9)),
105-
"Check your n_train and ahead values"
105+
"This may be due to `n_train` < `ahead`"
106106
)
107107
})

0 commit comments

Comments
 (0)