silencio: Silence All Output

Description Usage Details Examples

Description

Silence all output including messages, warnings and errors that would otherwise be printed to the console or terminal. Use your sonorus() charm to disable.

Usage

1
2
3

Details

If you dislike Harry Potter, you would have to play a round of hide() and seek() instead. However, these are not exported to avoid confusion with base::seek().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
warning("You!")

#---------
silencio()
#---------

warning("You!")
stop("You, again!")

#--------
sonorus()
#--------

message("finally, it stopped")

silencio::hide()
print("this works, too?")
silencio::seek()
cat("yes")

nielsaka/silencio documentation built on May 5, 2019, 11:01 p.m.