#' Safe version of exams2moodle
#'
#' @param ... further arguments passed to \code{exams2moodle}.
#'
#' @importFrom purrr safely
#' @importFrom exams exams2moodle
#'
safe_exams <- function(...){
# cat("Begin exam2moodle\n")
xml <- safely(exams2moodle)(...)
# cat("End exam2moodle\n")
return(xml)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.