Description Usage Arguments Details
Thanks to https://github.com/brendan-R/brocks for inspiring this function
1 2 |
title |
The title of the entry |
dir |
The directory all of your .Rmd entries are in |
subdir |
The subdirectory with |
skeleton |
The filepath of a skeleton of a new entry |
This function will add a new entry within the '_rmd' directory under a subdirectory by default and create a blank .R script to accompany it
new_entry
will create a .R file, and a .Rmd file
withinin a subdirectory, with names created by running title
through
filenamise
. The .R file will contain a short note mentioning
that it accompanies the .Rmd file, which will contain the same text as the
file supplied by skeleton
paramter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.