File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,19 @@ The goal of styler is to provide non-invasive pretty-printing of R source code
28
28
while adhering to the [ tidyverse] ( https://github.com/tidyverse/style ) formatting
29
29
rules. Support for custom style guides is planned.
30
30
31
- You can install the package from GitHub:
32
31
32
+
33
+ You can install the package from CRAN:
34
+ ``` {r, eval = FALSE}
35
+ install.packages("styler")
36
+ ```
37
+
38
+ Or get the development version from GitHub:
33
39
``` {r, eval = FALSE}
34
40
# install.packages("remotes")
35
41
remotes::install_github("r-lib/styler")
36
42
```
37
43
38
-
39
44
You can style a simple character vector of code with ` style_text() ` :
40
45
``` {r echo=FALSE, message=FALSE}
41
46
pkgload::load_all()
Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ source code while adhering to the
19
19
[ tidyverse] ( https://github.com/tidyverse/style ) formatting rules.
20
20
Support for custom style guides is planned.
21
21
22
- You can install the package from GitHub:
22
+ You can install the package from CRAN:
23
+
24
+ ``` r
25
+ install.packages(" styler" )
26
+ ```
27
+
28
+ Or get the development version from GitHub:
23
29
24
30
``` r
25
31
# install.packages("remotes")
You can’t perform that action at this time.
0 commit comments