Skip to content

Commit 7cc6494

Browse files
EQ_FORMALS belongs to the op_token set.
1 parent 53ae5e1 commit 7cc6494

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)