warcraft_mode | R Documentation |
Enter Warcraft Mode
warcraft_mode(n = 500, p = 0.1)
warcraft(n = 500, p = 0.1)
n |
Maximum number of times to call warcraft audio before warcraft mode expires. Defaults to 500. To disable warcraft mode, set this value to FALSE. |
p |
Desired proportion of top-level tasks that should trigger the playing of audio files. Defaults to play audio during roughly 1 out of 10 top level tasks. |
Invisibly enters warcraft_mode (getOption("warcraft_mode"))
## Not run:
## load warcraft
library(warcraft)
## enter warcraft mode
warcraft_mode()
## disable warcraft mode
warcraft_mode(FALSE)
## play lots of warcraft sounds for entire R session
warcraft_mode(Inf, 1.0)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.