tests/testthat/_snaps/aaa_ranges.md

setting ranges

Code
  range_set(mtry(), 1)
Condition
  Error:
  ! `range` should have two elements, not 1.
Code
  range_set(activation(), 1:2)
Condition
  Error:
  ! `object` should be a <quant_param> object, not a <qual_param> object.
Code
  range_validate(mtry(), letters[1:2])
Condition
  Error:
  ! Value ranges must be numeric.
  i `Inf` and `unknown()` are acceptable values.
Code
  range_validate(mtry(), letters[1:2], ukn_ok = FALSE)
Condition
  Error:
  ! `range` should be numeric.


Try the dials package in your browser

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

dials documentation built on April 12, 2025, 1:46 a.m.