tests/testthat/_snaps/rename_at.md

mulitple functions

Code
  prep(rec, training = iris %>% slice(1:75))
Condition
  Error in `step_rename_at()`:
  Caused by error in `dplyr::rename_at()`:
  ! `.funs` must contain one renaming function, not 2.

empty printing

Code
  rec
Message

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

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

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

printing

Code
  print(rec)
Message

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

  -- Inputs 
  Number of variables by role
  predictor: 5

  -- Operations 
  * Variable renaming for: contains("Sepal")
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 renaming for: Sepal.Length and Sepal.Width | Trained


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