Description Usage Arguments Value Note
Add a sound effect to alert the user when a drake
plan has either completed or returned an error.
1 2 | make_with_beep(plan, .beep = TRUE, .beep_on_error = TRUE,
lock_envir = FALSE, ...)
|
plan |
drake plan |
.beep |
logical (default = TRUE), whether to play the "ping" sound after the plan is made |
.beep_on_error |
logical (default = TRUE), whether to play the "facebook" sound if the plan returns an error |
lock_envir |
default: |
... |
list, a list of parameters to pass to |
nothing
lock_envir = FALSE
is necessary if make_with_beep()
is used on a packaged plan
because expose_imports()
needs to be run prior to making the plan
(see the drake
manual for details: https://ropenscilabs.github.io/drake-manual/best-practices.html#workflows-as-r-packages)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.