File tree Expand file tree Collapse file tree 5 files changed +19
-6
lines changed Expand file tree Collapse file tree 5 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 10
10
args : [--style_pkg=styler, --style_fun=tidyverse_style]
11
11
exclude : >
12
12
(?x)^(
13
- tests/testthat/.*/.*\.R|
13
+ tests/testthat/.*/.*\.R(md)? |
14
14
vignettes/customizing_styler\.Rmd
15
15
)$
16
16
- id : roxygenize
@@ -46,13 +46,22 @@ repos:
46
46
exclude : >
47
47
(?x)^(
48
48
tests/testthat/public-api/xyzaddin/addin_region-.*|
49
- tests/testmanual/addins/r-invalid\.R
49
+ tests/testmanual/addins/r-invalid\.R|
50
+ tests/testthat/escaping/basic-escape-out\.R
50
51
)$
51
52
- id : no-browser-statement
53
+ exclude : >
54
+ (?x)^(
55
+ tests/testthat/public-api/xyzaddin/addin_region-.*|
56
+ tests/testmanual/addins/r-invalid\.R|
57
+ tests/testthat/escaping/basic-escape-out\.R
58
+ )$
52
59
- id : deps-in-desc
53
60
exclude : >
54
61
(?x)^(
55
62
touchstone/.*|
63
+ tests/testmanual/addins/r-invalid\.R|
64
+ tests/testthat/escaping/basic-escape-out\.R|
56
65
tests/testthat/.*\.R(md)?
57
66
)$
58
67
- repo : https://github.com/pre-commit/pre-commit-hooks
Original file line number Diff line number Diff line change
1
+ # styler 1.6.1.9000 (Development version)
2
+
3
+ * Use pre-commit.ci and improve code quality (#841 ).
4
+
5
+
1
6
# styler 1.6.1
2
7
3
8
* Files with ` .Rmarkdown ` extension are now recognized as an R markdown files in
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ drop_cached_children <- function(pd) {
135
135
# ' @details
136
136
# ' Note that top-level comments **above** code have negative parents
137
137
# ' (the negative value of the parent of the code expression that follows after,
138
- # ' a nother comment might be in the way though), all comments that are not top
138
+ # ' another comment might be in the way though), all comments that are not top
139
139
# ' level have positive ids. All comments for which no code follows afterwards
140
140
# ' have parent 0.
141
141
# ' @examples
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ cache_dir_default <- function() {
201
201
202
202
# ' Create more specs
203
203
# '
204
- # ' Syntactic suggar for creating more specs. This is useful when we want to add
204
+ # ' Syntactic sugar for creating more specs. This is useful when we want to add
205
205
# ' more arguments (because we can search for this function in the source code).
206
206
# ' @keywords internal
207
207
cache_more_specs <- function (include_roxygen_examples , base_indention ) {
Original file line number Diff line number Diff line change 3
3
## Addins
4
4
5
5
* set style:
6
- - test setting a valid stlye
6
+ - test setting a valid style
7
7
- test setting an invalid style
8
8
* style active file:
9
9
- saved .R file (valid and invalid code)
23
23
- unsaved .Rnw file
24
24
- saved non-R file
25
25
- unsaved R file
26
-
You can’t perform that action at this time.
0 commit comments