tests/testthat/_snaps/notes.md

showing notes

Code
  res_roles <- fit_resamples(role_bp_wflow, rs)
Message
  > A | error:   The following required column is missing from `new_data`: date.
Condition
  Warning:
  All models failed. Run `show_notes(.Last.tune.result)` for more information.
Code
  show_notes(res_roles)
Output
  unique notes:
  ---------------------------------------------------------------
  The following required column is missing from `new_data`: date.
Code
  res_simple <- fit_resamples(simple_wflow, rs)
Message
  > A | warning: prediction from rank-deficient fit; consider predict(., rankdeficient="NA")
Code
  show_notes(res_simple)
Output
  unique notes:
  ---------------------------------------------------------------------------
  prediction from rank-deficient fit; consider predict(., rankdeficient="NA")
Code
  show_notes(.Last.tune.result)
Output
  Great job! No notes to show.
Code
  fit_lr <- fit_resamples(parsnip::logistic_reg(), class ~ ., rs)
Message
  > A | warning: glm.fit: algorithm did not converge
  > B | warning: glm.fit: fitted probabilities numerically 0 or 1 occurred
  > C | warning: No control observations were detected in `truth` with control level 'class_2'.
Code
  show_notes(fit_lr)
Output
  unique notes:
  -----------------------------------
  glm.fit: algorithm did not converge
  -----------------------------------
  glm.fit: fitted probabilities numerically 0 or 1 occurred
  -----------------------------------
  No control observations were detected in `truth` with control level 'class_2'.


Try the tune package in your browser

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

tune documentation built on Sept. 1, 2025, 5:10 p.m.