Skip to content

Commit

Permalink
Fix missing callback application
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelburger committed Mar 25, 2024
1 parent 74a66d9 commit 84ec51f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/setup-import.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ merge_fst_chunks <- function(src, targ, new, old, sort_col, prog, nme, tick) {
split_write <- function(x, part_fun, dir, chunk_no, prog, nme, tick, callback = NULL) {

n_row <- nrow(x)

if (!is.null(callback)) {
x <- callback(x)
}
x <- split(x, part_fun(x))

tmp_nme <- file.path(dir, paste0("part_", names(x)),
Expand Down

0 comments on commit 84ec51f

Please sign in to comment.