ianmcook commented on a change in pull request #10190:
URL: https://github.com/apache/arrow/pull/10190#discussion_r627607178
##########
File path: r/tests/testthat/test-dplyr-string-functions.R
##########
@@ -240,11 +255,12 @@ test_that("str_replace and str_replace_all", {
})
test_that("strsplit and str_split", {
+
df <- tibble(x = c("Foo and bar", "baz and qux and quux"))
expect_dplyr_equal(
input %>%
- transmute(x = strsplit(x, "and")) %>%
+ mutate(x = strsplit(x, "and")) %>%
Review comment:
`mutate()` and `transmute()` would do exactly the same thing in these
tests, right? (Because there's only one column in the data, and it gets
replaced.)
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]