From 41875b0bcca62c1bcfcccd82cf0621702f81e3c1 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Wed, 3 Mar 2021 09:58:40 +0100 Subject: [PATCH] Correct draft() example in README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fab49fd61..5dc3cbefc 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,10 @@ To use **rticles** from RStudio: 3. Use the `rmarkdown::draft()` function to create articles: ```r - rmarkdown::draft("MyJSSArticle.Rmd", template = "jss_article", package = "rticles") - rmarkdown::draft("MyRJournalArticle", template = "rjournal_article", package = "rticles") + rmarkdown::draft("MyJSSArticle.Rmd", template = "jss", package = "rticles") + rmarkdown::draft("MyRJournalArticle", template = "rjournal", package = "rticles") ``` + This will create a folder containing a Rmd file using the corresponding output format and all the assets required by this format. ## How to contribute?