tests/testthat/_snaps/mutate.md

quasiquotation

Code
  prep(rec_1, training = iris %>% slice(1:75))
Condition
  Error in `step_mutate()`:
  Caused by error in `dplyr::mutate()`:
  i In argument: `new_var = Sepal.Width * const`.
  Caused by error:
  ! object 'const' not found

empty printing

Code
  rec
Message

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

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

  -- Operations 
  * Variable mutation for: <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 
  * Variable mutation for: <none> | Trained

printing

Code
  print(rec)
Message

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

  -- Inputs 
  Number of variables by role
  predictor: 5

  -- Operations 
  * Variable mutation for: 5
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 
  * Variable mutation for: ~5 | Trained


Try the recipes package in your browser

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

recipes documentation built on Aug. 26, 2023, 1:08 a.m.