get_drafts | R Documentation |
By default, {sandpaper}
will use the files in alphabetical order as they are
presented in the folders, however, it is strongly for authors to specify
the order of the files in their lessons, so that it's easy to rearrange or
add, split, or rearrange files.
get_drafts(
path,
folder = NULL,
message = getOption("sandpaper.show_draft", TRUE)
)
path |
path to the the sandpaper lesson |
folder |
the specific folder for which to list the draft files. Defaults
to |
message |
if |
This mechanism also allows authors to work on files in a draft form without them being published. This function will list and show the files in draft for automation and audit.
a vector of paths to files in draft and a message (if specified)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.