tests/testthat/_snaps/helper-add-remove.md

helper addition and removal works

Code
  helper_boopery
Message

  -- A boopery chore helper using claude-3-5-sonnet-latest.

helper addition with bad inputs

Code
  .helper_add(chore = identity, prompt = "hey")
Condition
  Error in `.helper_add()`:
  ! `chore` must be a single string, not a function.
Code
  .helper_add(chore = "sillyhead", prompt = "hey", interface = "no")
Condition
  Error in `.helper_add()`:
  ! `interface` should be one of "replace", "prefix", or "suffix".
Code
  .helper_add(chore = "sillyhead", prompt = "hey", interface = NULL)
Condition
  Error in `.helper_add()`:
  ! `interface` should be one of "replace", "prefix", or "suffix".

helper remove with bad inputs

Code
  .helper_remove(chore = identity)
Condition
  Error in `.helper_remove()`:
  ! `chore` must be a single string, not a function.
Code
  .helper_remove(chore = "notAnActiveHelper")
Condition
  Error in `.helper_remove()`:
  ! No active helper with the given `chore`.


Try the chores package in your browser

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

chores documentation built on April 3, 2025, 9:31 p.m.