assertthat
assertthat copied to clipboard
Feature request: quiet argument for assert_that()
I like assert_that(), wonderful function. Luckily I live in a world where all my code now successfully clears all the assert_that()s we have in there. That means I get a bunch of [1] TRUE back, which while comforting is a bit unncessary.
Can assert_that() get an argument like verbose or quiet? I'm very happy that it makes a noise if something goes wrong, but when it goes right I actually would prefer if it was possible to make it quiet. The default can of course be quiet = F, I'd just like the option.
I can do
x <- assert_that(1 ==1, msg = "WOOP WOOP ERROR")
in the meantime.