File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ knitr::opts_chunk$set(
2626## Installing {golem}
2727
2828You can install the stable version of ` {golem} ` from CRAN:
29- ``` {r}
29+ ``` {r}
3030install.packages("golem")
3131```
3232
@@ -205,4 +205,3 @@ rstudioapi::navigateToFile("dev/02_dev.R")
205205``` {r, eval = TRUE, include = FALSE}
206206try(fs::dir_delete(x), silent = TRUE)
207207```
208-
Original file line number Diff line number Diff line change @@ -44,23 +44,23 @@ Golem package follows the `grkstyle` style guide. Please make sure to follow the
4444
4545If your are using RStudio, you can set the ` grkstyle ` style guide as the default style guide for the package by running the following code:
4646
47- ``` {r eval=FALSE}
47+ ``` {r eval=FALSE}
4848options(
4949 styler.addins_style_transformer = "grkstyle::grk_style_transformer()"
5050)
5151```
5252
5353If your are using VSCode, you can set the ` grkstyle ` style guide as the default style guide for the package by running the following code:
5454
55- ``` {r eval=FALSE}
55+ ``` {r eval=FALSE}
5656options(languageserver.formatting_style = function(options) {
5757 grkstyle::grk_style_transformer()
5858})
5959```
6060
6161It's also possible to style one file at a time by running the following code:
6262
63- ``` {r eval=FALSE}
63+ ``` {r eval=FALSE}
6464grkstyle::grk_style_file("README.Rmd")
6565```
6666
You can’t perform that action at this time.
0 commit comments