I am running R version 4.1.1 with dplyr version 1.0.9 installed. The example code included in the rename function does not seem to work.
Brief description of the problem
iris <- as_tibble(iris) # so it prints a little nicer
rename(iris, petal_length = Petal.Length)
Error in rename(iris, petal_length = Petal.Length) :
object 'Petal.Length' not found