Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Dec 2, 2024
1 parent 17fe4de commit 5782090
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/data_rename.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ data_rename <- function(data,
# => do the switch manually
if (!is.null(pattern)) {
.is_deprecated("pattern", "select")
replacement <- select
if (!is.null(select)) {
replacement <- select
}
select <- pattern
}
if (isFALSE(safe)) {
Expand Down

0 comments on commit 5782090

Please sign in to comment.