From c15476747ba068b410b4260129e64a2a79c7297d Mon Sep 17 00:00:00 2001 From: James McMahon Date: Thu, 25 Jul 2024 10:57:28 +0100 Subject: [PATCH] Update read_file.R --- R/read_file.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/read_file.R b/R/read_file.R index 17e5aac..652ad8f 100644 --- a/R/read_file.R +++ b/R/read_file.R @@ -29,7 +29,7 @@ read_file <- function(path, col_select = NULL, ...) { )) } - if ((!missing(col_select) && ext != "parquet") { + if (!missing(col_select) && ext != "parquet") { cli::cli_abort(c( "x" = "{.arg col_select} and/or {.arg as_data_frame} must only be used when reading a {.field .parquet} file."