diff --git a/R/csv.R b/R/csv.R index 8147f22b5..3b969b3db 100644 --- a/R/csv.R +++ b/R/csv.R @@ -31,8 +31,8 @@ #' dbDisconnect(con) duckdb_read_csv <- function(conn, name, files, ..., header = TRUE, na.strings = "", nrow.check = 500, delim = ",", quote = "\"", col.names = NULL, lower.case.names = FALSE, sep = delim, transaction = TRUE, temporary = FALSE) { - # - if (length(list(...))) warning("Arguments passed to ... are currently not used") + # FIXME: Warning as of duckdb 1.1.1, turn this into an error later + if (...length() > 0) warning("Arguments passed to ... are currently not used") if (length(na.strings) > 1) stop("na.strings must be of length 1") if (!missing(sep)) delim <- sep