metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
22 stars 2 forks source link

check_file: add final newline to printed output #660

Closed kyleam closed 4 months ago

kyleam commented 4 months ago

check_file() prints its output without a final newline. That renders okay in the RStudio console, which takes care of adding a missing newline, but it can lead to a misplaced prompt in other consoles. Example from a plain R terminal console:

> tail_lst("inst/model/nonmem/basic/1", .head = 0, .tail = 2)
...
Stop Time:
Mon Nov  8 11:35:08 EST 2021> CURSOR HERE