From 13fee79427a4a2d6e9b7ba35d07a0a28ec5eaf90 Mon Sep 17 00:00:00 2001 From: jtlandis Date: Tue, 27 Feb 2024 10:04:18 -0500 Subject: [PATCH] This should solve `my_alpha` being unseen. #58 --- R/utils-calls.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/utils-calls.R b/R/utils-calls.R index 6d441d0..4b8c668 100644 --- a/R/utils-calls.R +++ b/R/utils-calls.R @@ -1,7 +1,9 @@ zap_dots <- function(call, zap = character(), ...) { - dots <- enexprs(...) + # force dots to be evaluated... + dots <- enquos(...) |> + lapply(rlang::eval_tidy) # remove dots and splice them in call <- call_modify(call, ... = zap(), !!!dots) if (length(zap) > 0) {