Skip to content

Commit

Permalink
Update README setup chunk
Browse files Browse the repository at this point in the history
Fixes #19
  • Loading branch information
hadley committed Aug 9, 2017
1 parent db640ba commit c57446d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

* `use_readme_rmd()` now puts images in `man/figures/` and no longer
adds to `.Rbuildgnore`. This ensures that the rendered `README.md` will
also work on CRAN (#16, #19)
also work on CRAN (#16, #19). The first chunk now uses `include = FALSE`
and is named setup (#19).

* `use_github()` now has an organisation parameter so you can create repos
in organisations (#4).
Expand Down
2 changes: 1 addition & 1 deletion inst/templates/omni-README
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ output:

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r, echo = FALSE}
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
Expand Down

0 comments on commit c57446d

Please sign in to comment.