Skip to content

Commit

Permalink
correct check_columns_present()
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosbosse committed Nov 14, 2023
1 parent 21d887a commit ebe3869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check-input-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ check_columns_present <- function(data, columns) {
}
}
missing <- unlist(missing)
if (length(missing > 1)) {
if (length(missing) > 1) {
msg <- paste0(
"Columns '", paste(missing, collapse = "', '"), "' not found in data"
)
Expand Down

0 comments on commit ebe3869

Please sign in to comment.