Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 24, 2024
1 parent 01a4736 commit fc18483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/data_rename.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#' - `{n}` will be replaced by the number of the variable that is replaced.
#' - `{letter}` will be replaced by alphabetical letters in sequential order.
#' - Finally, the name of a user-defined object that is available in the
#' environment can be used. In this case,
#' environment can be used.
#'
#' An example for the use of tokens is...
#' ```r
Expand Down Expand Up @@ -262,7 +262,7 @@ data_rename <- function(data,
if (length(values) != length(pattern)) {
insight::format_error(paste0(
"The number of values provided in `", token, "` (", length(values),
" values) do not match the number of the columns to rename (",
" values) do not match the number of columns to rename (",
length(pattern), " columns)."
))
}
Expand Down
2 changes: 1 addition & 1 deletion man/data_rename.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fc18483

Please sign in to comment.