Currently the usethis::ui_info reports when postcodes have been fixed/replaced use paste0 with a vector of postcode strings. This results in a new report line for each postcode, instead of concatenating the postcodes into a single string in advance using str::str_c() for example.
[ ] fix the problem using str_c
[ ] possibly hold back the report to the end of the function, rather than spitting it out as it goes
[ ] possibly provide the list of amended codes in a convenient format eg as a tibble rather than just as output (possibly using ui_code_block(x, copy = rlang::is_interactive()))
Currently the
usethis::ui_info
reports when postcodes have been fixed/replaced usepaste0
with a vector of postcode strings. This results in a new report line for each postcode, instead of concatenating the postcodes into a single string in advance usingstr::str_c()
for example.ui_code_block(x, copy = rlang::is_interactive())
)