gracefully_fail | R Documentation |
Function for gracefully failing internet resources
gracefully_fail(remote.file, timeout.s = NULL)
Kostas Vasilopoulos
Gracefully failing HTTP request code (slightly adapted by Pyry Kantanen) from RStudio community member kvasilopoulos. Many thanks!
Source of the original RStudio community discussion: https://community.rstudio.com/t/internet-resources-should-fail-gracefully/49199
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.