silencio: Silence All Output

Description Usage Details Examples

View source: R/silencio.R

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")

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

nielsaka/charms documentation built on Sept. 3, 2019, 12:32 p.m.