powered by
Generate RMarkdown template with brand styling
brand_rmd_template( brand = "block", title = "Report", output_format = "html_document", output_file = NULL )
RMarkdown template content
Name of the brand
Document title
RMarkdown output format (default: "html_document")
Path to save template (NULL to return as string)
if (FALSE) { # Create branded RMarkdown template in temp directory temp_file <- file.path(tempdir(), "report.Rmd") brand_rmd_template("block", "My Report", output_file = temp_file) }
Run the code above in your browser using DataLab