R/rjournal_article.R
create_article.Rd
Create an R Journal article with the existing template
create_article(
name = "test",
file = xfun::with_ext(name, "Rmd"),
create_dir = FALSE,
edit = TRUE
)
the name of the Rmd, will default to "test"
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
Outputs an R Journal paper template set of files in the directory specified
by dir_path
or in the project directory, if nothing is specified.
See vignette("create_article", package = "rjtools")
for more details
on how to create and format an article.