Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
larmarange committed Jan 7, 2025
1 parent 134d5f9 commit 03681a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/na_values.R
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ set_na_range <- function(.data, ..., .values = NA, .strict = TRUE) {
}
values <- rlang::dots_list(...)
if (.strict && !all(names(values) %in% names(.data))) {
missing_names <- setdiff(names(value), names(.data))
missing_names <- setdiff(names(values), names(.data))
cli::cli_abort(c(
"Can't find variables {.var {missing_names}} in {.arg .data}."
))
Expand Down

0 comments on commit 03681a2

Please sign in to comment.