From e43e008791c34fb1ff7a945c41f2172c6cf92a63 Mon Sep 17 00:00:00 2001 From: nikosbosse Date: Fri, 5 Jan 2024 11:33:29 +0000 Subject: [PATCH] fix warning message --- R/metrics-quantile.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/metrics-quantile.R b/R/metrics-quantile.R index ce14a37b5..4897812f0 100644 --- a/R/metrics-quantile.R +++ b/R/metrics-quantile.R @@ -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) }