tests/testthat/_snaps/num-mase.md

Mean Absolute Scaled Error

Code
  mase_vec(truth, pred, m = "x")
Condition
  Error in `mase_vec()`:
  ! `m` must be a whole number, not the string "x".
Code
  mase_vec(truth, pred, m = -1)
Condition
  Error in `mase_vec()`:
  ! `m` must be a whole number larger than or equal to 0, not the number -1.
Code
  mase_vec(truth, pred, m = 1.5)
Condition
  Error in `mase_vec()`:
  ! `m` must be a whole number, not the number 1.5.
Code
  mase_vec(truth, pred, mae_train = -1)
Condition
  Error in `mase_vec()`:
  ! `mae_train` must be a number larger than or equal to 0 or `NULL`, not the number -1.
Code
  mase_vec(truth, pred, mae_train = "x")
Condition
  Error in `mase_vec()`:
  ! `mae_train` must be a number or `NULL`, not the string "x".


Try the yardstick package in your browser

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

yardstick documentation built on June 22, 2024, 7:07 p.m.