From 331ac1ddfd039640bc2305e69d205ac25bf1b176 Mon Sep 17 00:00:00 2001 From: Emil Hvitfeldt Date: Mon, 23 Sep 2024 11:18:57 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Hannah Frick --- R/misc.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/misc.R b/R/misc.R index d9c99b963..d27c7b3bd 100644 --- a/R/misc.R +++ b/R/misc.R @@ -860,7 +860,7 @@ check_new_data <- function(req, object, new_data) { step_id <- object$id cli::cli_abort( "The following required {cli::qty(col_diff)} column{?s} {?is/are} missing - from `new_data`: {col_diff}.", + from {.arg new_data}: {col_diff}.", call = rlang::call2(step_cls) ) }