diff --git a/R/construction_helpers.R b/R/construction_helpers.R index 54954213d..fe1bd3c17 100644 --- a/R/construction_helpers.R +++ b/R/construction_helpers.R @@ -135,7 +135,8 @@ construct_model.survey.design <- function(data, formula, method, method.args = l cli::cli_abort( c("There was an error processing the {.arg {argname}} argument.", - i = "Expecting a simple call. See {.help rlang::is_call_simple} for details."), + i = "Expecting a simple call. See {.help rlang::is_call_simple} for details." + ), call = get_cli_abort_call() ) }