I am trying to run some unit testing with testthat. The standard output is something like:
> devtools::test()
Loading packagex
Testing packagex
✔ | OK F W S | Context
✔ | 1 | test 1 [3.5 s]
✔ | 9 | test 2 [0.6 s]
✔ | 4 | test 3
However, if the function prints any messages, those will show up in the output, making it mostly unreadable. Is there a way of getting around that?