From 03681a2b2a0833fd6ad800c9f35df78905cb5b74 Mon Sep 17 00:00:00 2001 From: Joseph Larmarange Date: Tue, 7 Jan 2025 20:09:46 +0100 Subject: [PATCH] fix --- R/na_values.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/na_values.R b/R/na_values.R index f404073..376c222 100644 --- a/R/na_values.R +++ b/R/na_values.R @@ -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}." ))