testthat no longer suppresses messages #189
Closed
Comments
Yeah this is super annoying :/ |
This was referenced Jul 5, 2015
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimal example:
Run interactively or via
test_file
this produces does not print a message to screen 0.7/0.8, but does on 0.9 (and current github).Run outside of a
test_that
block, the message is displayed on all versions (0.7-current).The message printing messes up the output when running a big block of tests that produce a lot of messages as messages are interspersed through all the progress dots.
I believe this was incorporated in 2a60cc9, because prior to that, because this block suppresses messages while this block does not. I can't see where in the nested
tryCatch
/withCallingHandlers
that asuppressMessages
would go now (or the magic incantation to getinvokeRestart("muffleMessage")
to work).Output of
sessionInfo
:The text was updated successfully, but these errors were encountered: