Skip to content

rename example documentation does not work. #6411

@mccroweyclinton-EPA

Description

@mccroweyclinton-EPA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions