Skip to content

Commit 41875b0

Browse files
authored
Correct draft() example in README
1 parent 261b55a commit 41875b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ To use **rticles** from RStudio:
8989
3. Use the `rmarkdown::draft()` function to create articles:
9090

9191
```r
92-
rmarkdown::draft("MyJSSArticle.Rmd", template = "jss_article", package = "rticles")
93-
rmarkdown::draft("MyRJournalArticle", template = "rjournal_article", package = "rticles")
92+
rmarkdown::draft("MyJSSArticle.Rmd", template = "jss", package = "rticles")
93+
rmarkdown::draft("MyRJournalArticle", template = "rjournal", package = "rticles")
9494
```
95+
This will create a folder containing a Rmd file using the corresponding output format and all the assets required by this format.
9596

9697
## How to contribute?
9798

0 commit comments

Comments
 (0)