skip_if_no_auth <- function() {
if (identical(Sys.getenv("trakt_client_secret"), "")) {
skip("No authentication available")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.