Skip to content

Commit 6f9d137

Browse files
Merge pull request #677 from swsoyee/update-readme
- chore: update the github action function name (#677).
2 parents c7e7b70 + 739f34c commit 6f9d137

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
- empty lines are now removed between pipes (#645).
2828
- overhaul pgkdown site: Add search (#623), group function in Reference (#625).
2929
- always strip trailing spaces and make cache insensitive to it (#626).
30-
- typos in documentation (#643, #618, #614).
30+
- minor documentation improvements (#643, #618, #614, #677).
3131

3232
# styler 1.3.2
3333

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ styler functionality is made available through other tools, most notably
140140
Action](https://github.com/features/actions) [*Tidyverse
141141
CI*](https://github.com/r-lib/actions/tree/master/examples#tidyverse-ci-workflow)
142142
is used. The most convenient way to set this up is via
143-
[`usethis::use_github_actions_tidy()`](https://usethis.r-lib.org/reference/github_actions.html?q=ghactions#use-github-actions-tidy-).
143+
[`usethis::use_tidy_github_actions()`](https://usethis.r-lib.org/reference/tidyverse.html).
144144

145145
* `reprex::reprex(style = TRUE)` to prettify reprex code before printing. To
146146
permanently use `style = TRUE` without specifying it every time, you can add

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ There are a few variants of `style_text()`:
6565
- `style_pkg()` styles the source files of an R package.
6666

6767
- RStudio Addins for styling the active file, styling the current
68-
package and styling the highlighted code
69-
region.
68+
package and styling the highlighted code region.
7069

7170
<img src="https://raw.githubusercontent.com/lorenzwalthert/some_raw_data/master/styler_0.1.gif" width="650px" />
7271

@@ -134,7 +133,7 @@ styler functionality is made available through other tools, most notably
134133
Action](https://github.com/features/actions) [*Tidyverse
135134
CI*](https://github.com/r-lib/actions/tree/master/examples#tidyverse-ci-workflow)
136135
is used. The most convenient way to set this up is via
137-
[`usethis::use_github_actions_tidy()`](https://usethis.r-lib.org/reference/github_actions.html?q=ghactions#use-github-actions-tidy-).
136+
[`usethis::use_tidy_github_actions()`](https://usethis.r-lib.org/reference/tidyverse.html).
138137

139138
- `reprex::reprex(style = TRUE)` to prettify reprex code before
140139
printing. To permanently use `style = TRUE` without specifying it
@@ -144,7 +143,7 @@ styler functionality is made available through other tools, most notably
144143
- you can pretty-print your R code in RMarkdown reports without having
145144
styler modifying the source. This feature is implemented as a code
146145
chunk option in knitr. use `tidy = "styler"` in the header of a code
147-
chunks (e.g. ` ```{r name-of-the-chunk, tidy = "styler"}`), or
146+
chunks (e.g. ` ```{r name-of-the-chunk, tidy = "styler"} `), or
148147
`knitr::opts_chunk$set(tidy = "styler")` at the top of your
149148
RMarkdown script.
150149

0 commit comments

Comments
 (0)