tests/testthat/_snaps/quant-weighted_interval_score.md

Calculations handles NAs

Code
  weighted_interval_score_vec(truth, preds_na, quantile_levels = 1:9 / 10,
  quantile_estimate_nas = "drop")
Condition
  Error in `weighted_interval_score_vec()`:
  ! When `quantile_levels` is not a subset of those available in `estimate`, `quantile_estimate_nas` may not be `'drop'`.

na_rm argument check

Code
  weighted_interval_score_vec(1, 1, na_rm = "yes")
Condition
  Error in `weighted_interval_score_vec()`:
  ! `na_rm` must be `TRUE` or `FALSE`, not the string "yes".


Try the yardstick package in your browser

Any scripts or data that you put into this service are public.

yardstick documentation built on April 8, 2026, 1:06 a.m.