Skip to content

Commit 6f66ec2

Browse files
committed
Remove extraneous some_of()
1 parent 711013b commit 6f66ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/object_name_linters.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ check_style <- function(nms, style, generics = character()) {
112112
strip_names <- function(x) {
113113
x <- re_substitutes(x, rex(start, some_of(".", quote, "`", "%", "$", "@")), "")
114114
x <- re_substitutes(x, rex(some_of(quote, "`", "<", "-", "%", "$", "@"), end), "")
115-
x <- re_substitutes(x, rex(some_of("<-"), "."), ".")
115+
x <- re_substitutes(x, rex("<-", "."), ".")
116116
x
117117
}
118118

0 commit comments

Comments
 (0)