Skip to content

Commit

Permalink
Correct draft() example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored Mar 3, 2021
1 parent 261b55a commit 41875b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit 41875b0

Please sign in to comment.