tests/testthat/_snaps/bound-prediction.md

lower_limit bounds for numeric predictions

Code
  bound_prediction(solubility_test, lower_limit = 2)
Condition
  Error in `bound_prediction()`:
  ! The argument `x` should have a column named `.pred`.
Code
  solubility_test %>% mutate(.pred = format(prediction)) %>% bound_prediction(
    lower_limit = 2)
Condition
  Error in `bound_prediction()`:
  ! Column `.pred` should be numeric.
Code
  bound_prediction(sol, lower_limit = tune2())
Condition
  Error in `bound_prediction()`:
  ! `lower_limit` must be a number or `NA`, not a call.
Code
  bound_prediction(as.matrix(sol), lower_limit = 1)
Condition
  Error in `bound_prediction()`:
  ! `x` must be a data frame, not a double matrix.

upper_limit bounds for numeric predictions

Code
  bound_prediction(solubility_test, lower_limit = 2)
Condition
  Error in `bound_prediction()`:
  ! The argument `x` should have a column named `.pred`.
Code
  solubility_test %>% mutate(.pred = format(prediction)) %>% bound_prediction(
    lower_limit = 2)
Condition
  Error in `bound_prediction()`:
  ! Column `.pred` should be numeric.
Code
  bound_prediction(sol, upper_limit = tune2())
Condition
  Error in `bound_prediction()`:
  ! `upper_limit` must be a number or `NA`, not a call.


topepo/probably documentation built on April 6, 2024, 7:32 p.m.