Skip to content

Commit

Permalink
Update R/derive_vars_cat.R
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Bundfuss <[email protected]>
  • Loading branch information
StefanThoma and bundfussr authored Sep 26, 2024
1 parent 8caf227 commit e7882f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/derive_vars_cat.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e7882f0

Please sign in to comment.