Nothing
skip_if_interactive <- function() {
testthat::skip_if(interactive())
}
skip_if_http_error <- function() {
formatted_text <- stringr::str_replace_all("hello", " ", "%20")
formatted_link <- paste0(
"https://translate.google.com/m?tl=",
"es", "&sl=", "en",
"&q=",
formatted_text
)
testthat::skip_if(httr::http_error(httr::GET(formatted_link)))
}
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.