Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 27, 2024
1 parent e309845 commit 5a4201c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/clean_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ clean_names.character <- function(x, include_names = FALSE, ...) {
}
}
# for coxme-models, remove random-effect things...
if (grepl("|", i, fixed = TRUE)) {
if (any(grepl("|", i, fixed = TRUE))) {
i <- sub("^(.*)\\|(.*)", "\\2", i)
}

Expand Down

0 comments on commit 5a4201c

Please sign in to comment.