I am new to {testthat} and am building tests for a function that modifies strings and is expected to produce a specific output for certain input patterns.
As a example (r