on_error_email_to | R Documentation |
email_on_error()
will email on error. Use it with action_safely()
to wrap
a function using the emailer. Set the email recipient globally with
on_error_email_to()
and retrieve it with email_to()
.
on_error_email_to(recipient) email_to() gmail_id() gmail_secret() gmail_email() email_on_error(.e, recipient = email_to(), .msg = NULL) action_safely(.f, .msg = NULL)
recipient |
an email address. |
.e |
the error message |
.f |
a function to wrap in the email error catching function |
a character vector containing the error email
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.