rmd_skeleton | R Documentation |
This function creates an RMarkdown skeleton with pretty defaults.
rmd_skeleton( name = "Untitled", dir = here(), title = NULL, author = "Daniel Molitor", abstract = FALSE )
name |
A string - the name of the RMarkdown document. |
dir |
The target directory. |
title |
The title of the RMarkdown document. Optional argument. |
author |
The author of the RMarkdown document. Optional argument. |
abstract |
A logical value - whether to include an Abstract section. |
Returns the file path invisibly. It is called for its side effects.
target_dir <- tempdir() rmd_skeleton(name = "test", dir = target_dir, title = "Test Document")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.