Skip to content

Commit

Permalink
Reformat and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 4, 2024
1 parent b7fb5bb commit d6ebb12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/csv.R
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d6ebb12

Please sign in to comment.