From 5b0e9c374d7c762bb515b8acdf0d83324abcb647 Mon Sep 17 00:00:00 2001 From: olivroy Date: Thu, 11 Jul 2024 19:02:37 -0400 Subject: [PATCH 1/2] Correctly pass down call = error_call for past the end errors. --- R/eval-walk.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/eval-walk.R b/R/eval-walk.R index b9c9121..75dba1a 100644 --- a/R/eval-walk.R +++ b/R/eval-walk.R @@ -28,7 +28,7 @@ vars_select_eval <- function(vars, allow_predicates = allow_predicates, call = error_call ) - pos <- loc_validate(pos, vars) + pos <- loc_validate(pos, vars, call = error_call) pos <- ensure_named( pos, vars, From 57baa06aa9a2ff875c1a9e545144536f0e0fa17c Mon Sep 17 00:00:00 2001 From: olivroy Date: Thu, 11 Jul 2024 19:03:21 -0400 Subject: [PATCH 2/2] Remove trailing slash (unrelated) --- R/eval-select.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/eval-select.R b/R/eval-select.R index d899cd8..05146d1 100644 --- a/R/eval-select.R +++ b/R/eval-select.R @@ -148,7 +148,7 @@ eval_select <- function(expr, allow_rename = allow_rename, allow_empty = allow_empty, allow_predicates = allow_predicates, - error_call = error_call, + error_call = error_call ) }