#' Retry a function
#'
#' The function \code{f} is given retry behavior based on the specification in
#' the \code{config} configuration list.
#'
#' The default behavior is to retry the function \code{f} forever without
#' waiting.
#'
#' @export
#' @param f function to add retry behavior
#' @param config named list to specify retry behavior
#' @param ... additional arguments passed to \code{f}
#' @return a function with retry behavior added to the function \code{f}
retry <- function(f, config, ...) {
f(...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.