@@ -65,8 +65,7 @@ There are a few variants of `style_text()`:
65
65
- ` style_pkg() ` styles the source files of an R package.
66
66
67
67
- 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.
70
69
71
70
<img src =" https://raw.githubusercontent.com/lorenzwalthert/some_raw_data/master/styler_0.1.gif " width =" 650px " />
72
71
@@ -134,7 +133,7 @@ styler functionality is made available through other tools, most notably
134
133
Action] ( https://github.com/features/actions ) [ * Tidyverse
135
134
CI* ] ( https://github.com/r-lib/actions/tree/master/examples#tidyverse-ci-workflow )
136
135
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 ) .
138
137
139
138
- ` reprex::reprex(style = TRUE) ` to prettify reprex code before
140
139
printing. To permanently use ` style = TRUE ` without specifying it
@@ -144,7 +143,7 @@ styler functionality is made available through other tools, most notably
144
143
- you can pretty-print your R code in RMarkdown reports without having
145
144
styler modifying the source. This feature is implemented as a code
146
145
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
148
147
` knitr::opts_chunk$set(tidy = "styler") ` at the top of your
149
148
RMarkdown script.
150
149
0 commit comments