From 56e2373ded46b3964af3c7e2e1da1a29d12eb757 Mon Sep 17 00:00:00 2001 From: Manuel Burger Date: Fri, 19 Apr 2024 13:04:51 +0200 Subject: [PATCH] Fix variable typo in partitioned loader --- R/setup-import.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/setup-import.R b/R/setup-import.R index ab6388ec..ef2bb760 100644 --- a/R/setup-import.R +++ b/R/setup-import.R @@ -299,7 +299,7 @@ partition_table <- function(x, dir, progress = NULL, chunk_length = 10 ^ 7, temp for (i in seq_along(file)) { dat <- readr::read_csv(file[i], col_types = spec, progress = FALSE, ...) report_problems(dat, rawf[i]) - split_write(callback(data), pfun, tempdir, i, progress, name, tick) + split_write(callback(dat), pfun, tempdir, i, progress, name, tick) } }