R/rjournal_article.R
create_article.Rd
Create an R Journal article with the existing template
create_article(
name,
file = xfun::with_ext(name, "Rmd"),
create_dir = FALSE,
edit = TRUE
)
the name of the Rmd
File name for the draft
TRUE
to create a new directory for the document
(the "default" setting leaves this behavior up to the creator of the
template).
TRUE
to edit the template immediately
a created R Journal template in the directory specified by dir_path
See vignette("create_article", package = "rjtools")
for how to create an article