Nothing
#' Throw an error if the RT status code is an error status
#'
#' @param response (response) An `httr` response object
#'
#' @return Either nothing, or throws an error
stopforstatus <- function(response) {
if (response$status >= 400) {
stop(response$message)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.