Skip to content

Commit 2bf7f60

Browse files
Merge pull request #380 from lorenzwalthert/fix-eq-assign
- Spacing around EQ_FORMALS (#380).
2 parents 53ae5e1 + 7cc6494 commit 2bf7f60

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

R/token-define.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ op_token <- c(
6363
logical_token,
6464
left_assignment_token,
6565
right_assignment_token,
66-
"EQ_SUB", "ELSE", "IN"
66+
"EQ_SUB", "ELSE", "IN",
67+
"EQ_FORMALS"
6768
)
6869

6970

tests/testthat/parse_comments/rplumber-out.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# myfile.R
22

33
#* @get /mean
4-
normalMean <- function(samples=10) {
4+
normalMean <- function(samples = 10) {
55
data <- rnorm(samples)
66
mean(data)
77
}

0 commit comments

Comments
 (0)