R/rename-rd.R

#' @title Rename columns
#'
#' @description  This is a method for the [dplyr::rename()] generic.
#' See "Fallbacks" section for differences in implementation.
#' `rename()` changes the names of individual variables
#' using `new_name = old_name` syntax.
#'
#' @inheritParams dplyr::rename
#' @examples
#' library(duckplyr)
#' rename(mtcars, thing = mpg)
#' @seealso [dplyr::rename()]
#' @rdname rename.duckplyr_df
#' @name rename.duckplyr_df
NULL

Try the duckplyr package in your browser

Any scripts or data that you put into this service are public.

duckplyr documentation built on June 8, 2025, 10:53 a.m.