Skip to content

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosbosse committed Oct 31, 2024
1 parent b1ee7ba commit 195d66b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/class-forecast.R
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,14 @@ is_forecast <- function(x) {
)
if (inherits(validation, "try-error")) {
cli_warn(
#nolint start: keyword_quote_linter
c(
"!" = "Error in validating forecast object: {validation}.",
"i" = "Note this error is sometimes related to `data.table`s `print`.
Run {.help [{.fun assert_forecast}](scoringutils::assert_forecast)}
to confirm."
)
#nolint end
)
}
}
Expand Down

0 comments on commit 195d66b

Please sign in to comment.