brodieG / unitizer

Easy R Unit Tests
Other
39 stars 6 forks source link

Do Not Capture Output in non-Interactive Mode #286

Closed brodieG closed 2 years ago

brodieG commented 2 years ago

That way the .Rout files have the most information possible if there is a failure.

brodieG commented 2 years ago

There already exists the option to set:

 options(unitizer.disable.capt=c(output=TRUE, message=TRUE))

But the result looks a bit of a mess. The trick is we really don't want to capture anything so the e.g. a segfault will show the output, but many, many things are output that we don't actually want to keep.

brodieG commented 2 years ago

Fixed in 1.4.18