tests/testthat/_snaps/slice.md

quasiquotation

Code
  prep(rec_1, training = iris %>% slice(1:75))
Condition
  Error in `step_slice()`:
  Caused by error in `dplyr::slice()`:
  i In argument: `values`.
  Caused by error:
  ! object 'values' not found

empty printing

Code
  rec
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  outcome:    1
  predictor: 10

  -- Operations 
  * Row filtering via position: <none>
Code
  rec
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  outcome:    1
  predictor: 10

  -- Training information 
  Training data contained 32 data points and no incomplete rows.

  -- Operations 
  * Row filtering via position: | Trained

printing

Code
  print(rec)
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  predictor: 5

  -- Operations 
  * Row filtering via position: 1:2
Code
  prep(rec)
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  predictor: 5

  -- Training information 
  Training data contained 150 data points and no incomplete rows.

  -- Operations 
  * Row filtering via position: 1:2 | Trained


topepo/recipes documentation built on April 10, 2024, 10:30 p.m.