Skip to content

Commit

Permalink
Update R/misc.R
Browse files Browse the repository at this point in the history
Co-authored-by: Emil Hvitfeldt <[email protected]>
  • Loading branch information
hfrick and EmilHvitfeldt authored Sep 20, 2024
1 parent 3b167a0 commit a8b4d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/misc.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ check_strata <- function(strata, data, call = caller_env()) {
if (!is.null(strata)) {
if (inherits(data[, strata], "Surv")) {
cli_abort(c(
"{.arg strata} cannot be a {.cls Surv} object.",
"{.field strata} cannot be a {.cls Surv} object.",
"i" = "Use the time or event variable directly."
),
call = call
Expand Down

0 comments on commit a8b4d8e

Please sign in to comment.