Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions inst/tests/other.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -722,3 +722,8 @@ if (FALSE) { # moved from tests.Rraw in #5517 and not yet back on; wasn't sure
}
}

if (loaded[["dplyr"]]) {
# regression test for converting character->list column in a magrittr (dplyr) pipe, #2651
DT = data.table(a = 1, b = 2, c = '1,2,3,4]', d = 4)
test(30, DT[, c := strsplit(c, ',', fixed = TRUE) %>% lapply(as.integer) %>% as.list]$c, list(1:4))
}