tests/testthat/_snaps/invlogit.md

bake method errors when needed non-standard role columns are missing

Code
  bake(rec_trained, new_data = ex_dat[, 2, drop = FALSE])
Condition
  Error in `step_invlogit()`:
  ! The following required column is missing from `new_data`: x1.

empty printing

Code
  rec
Message

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

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

  -- Operations 
  * Inverse logit on: <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 
  * Inverse logit on: <none> | Trained

printing

Code
  print(rec)
Message

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

  -- Inputs 
  Number of variables by role
  predictor: 2

  -- Operations 
  * Inverse logit on: x1
Code
  prep(rec)
Message

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

  -- Inputs 
  Number of variables by role
  predictor: 2

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

  -- Operations 
  * Inverse logit on: x1 | Trained


tidymodels/recipes documentation built on Jan. 25, 2025, 7:30 a.m.