Description Usage Arguments Value
Evaluate an expression multiple times and if fails, exit R with an exit_code. This is a wrapper that combines functionality of try_with_exit_code and with_retries.
1 | try_stack(expr, num_tries = 1, sleep_secs = 0.001, exit_code = 1)
|
expr |
expression. The expression to evaluate. |
num_tries |
numeric. The number of attempts. |
exit_code |
numeric. The value of the exit_code to exit R. |
sleep |
numeric. How long to wait between attempts. |
TRUE if the expression gets evaluated successfully; exit R otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.