Create a Mayo themed Rmd file to render to either word, html or xaringan::moon_reader. If the usethis packages is installed and RStudio is in use, the file will be opened in the text editor.

use_mayodocx(name, overwrite = FALSE)

use_mayohtml(name, overwrite = FALSE)

use_mayomoon_reader(name, overwrite = FALSE)

Arguments

name

file, or file path, for the generated markdown file.

overwrite

logical; should existing destination files be overwritten?

Examples

if (FALSE) { use_mayodocx("test_mayodocx", overwrite = TRUE) use_mayohtml("test_mayohtml", overwrite = TRUE) use_mayomoon_reader("test_xaringan", overwrite = TRUE) }