ianmcook commented on a change in pull request #11023:
URL: https://github.com/apache/arrow/pull/11023#discussion_r741575436
##########
File path: r/R/expression.R
##########
@@ -100,7 +100,8 @@
# use `%/%` above.
"%%" = "divide_checked",
"^" = "power_checked",
- "%in%" = "is_in_meta_binary"
+ "%in%" = "is_in_meta_binary",
+ "strrep" = "binary_repeat"
Review comment:
`strrep()` is a function in base R. There is also a function
[`str_dup()`](https://stringr.tidyverse.org/reference/str_dup.html) in the
popular R package **stringr** that does exactly the same thing. In the R
bindings we often like to add these **stringr** variants of the functions too:
```suggestion
"strrep" = "binary_repeat",
"str_dup" = "binary_repeat"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]