create_post: Create a new blog post
Description
Create a new blog post
Usage
create_post(title, author = "auto", slug = "auto",
date_prefix = TRUE, draft = FALSE, edit = interactive())
Arguments
author
Post author. Automatically drawn from previous post if not provided.
slug
Post slug (directory name). Automatically computed from title if not
provided.
date_prefix
Data prefix for post slug (preserves chronological order for posts
within the filesystem).
draft
Mark the post as a draft
(don't include it in the article listing).
edit
Open the post in an editor after creating it.
Examples
Run this code# NOT RUN {
library(radix)
create_post("My Post")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab