diff --git a/R/derive_vars_cat.R b/R/derive_vars_cat.R index fd1d38510..1e2d61d20 100644 --- a/R/derive_vars_cat.R +++ b/R/derive_vars_cat.R @@ -164,7 +164,7 @@ derive_vars_cat <- function(dataset, assert_expr_list(definition) assert_vars(by_vars, optional = TRUE) if (length(by_vars) > 1) { - cli_abort("`by_vars` must contain just one variable, e.g. `exprs(PARAMCD)`") + cli_abort("{.arg by_vars} must contain just one variable, e.g. {.code exprs(PARAMCD)}") } assert_data_frame(dataset,