#' Utility method; create temporary file if necessary
#'
#' @param file a string
#' @return location of file
#'
#' @concept paxtoolsr
#' @noRd
checkOutputFile <- function(file) {
if(is.null(file)) {
file <- tempfile()
}
return(file)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.