Skip to content

Commit

Permalink
fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosbosse authored and seabbs committed Jan 5, 2024
1 parent 2ff165f commit e43e008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/metrics-quantile.R
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ interval_coverage_quantile <- function(observed, predicted, quantile, range = 50
if (!all(necessary_quantiles %in% quantile)) {
warning(
"To compute the interval coverage for a range of ", range,
"%, the quantiles ", necessary_quantiles, " are required. Returning `NA`."
"%, the quantiles `", toString(necessary_quantiles),
"` are required. Returning `NA`."
)
return(NA)
}
Expand Down

0 comments on commit e43e008

Please sign in to comment.