We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e89588 commit c7ec656Copy full SHA for c7ec656
tests/testthat/test-dplyr_methods.R
@@ -181,3 +181,27 @@ test_that("mutate counts", {
181
expect_equal(TRUE)
182
183
})
184
+
185
+test_that("group_split splits character columns", {
186
+ data(pasilla)
187
+ pasilla |>
188
+ group_split(condition) |>
189
+ length()
190
+ expect_equal(2)
191
+})
192
193
+test_that("group_split splits logical comparisons", {
194
195
196
+ group_split(counts > 0) |>
197
198
199
200
201
+test_that("group_split splits with mutliple arguments", {
202
203
204
+ group_split(condition, counts > 0) |>
205
206
+ expect_equal(4)
207
0 commit comments