From f9439f3fa8dbffacaba26f456a2c87ef966d1bd8 Mon Sep 17 00:00:00 2001 From: markfairbanks Date: Wed, 12 Oct 2022 18:10:37 -0600 Subject: [PATCH] Specify `before_arg` and `after_arg` --- R/step-colorder-relocate.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/step-colorder-relocate.R b/R/step-colorder-relocate.R index 87edffe4..d979dd68 100644 --- a/R/step-colorder-relocate.R +++ b/R/step-colorder-relocate.R @@ -20,7 +20,9 @@ relocate.dtplyr_step <- function(.data, ..., .before = NULL, .after = NULL) { expr(c(...)), .data, before = enquo(.before), - after = enquo(.after) + after = enquo(.after), + before_arg = ".before", + after_arg = ".after" )) out <- step_colorder(.data, new_vars) step_group(out, .data$groups)