Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename example documentation does not work. #6411

Closed
mccroweyclinton-EPA opened this issue Aug 18, 2022 · 2 comments
Closed

rename example documentation does not work. #6411

mccroweyclinton-EPA opened this issue Aug 18, 2022 · 2 comments

Comments

@mccroweyclinton-EPA
Copy link

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
@hadley
Copy link
Member

hadley commented Aug 18, 2022

Could you please rework your reproducible example to use the reprex package ? That makes it easier to see both the input and the output, formatted in such a way that I can easily re-run in a local session.

@hadley hadley closed this as completed Aug 20, 2022
@tomyputw
Copy link

tomyputw commented Oct 30, 2024

iris <- as_tibble(iris) # so it prints a little nicer
rename(iris, petal_length = Petal.Length)
Error: object 'Petal.Length' not found
R version 4.3.0 with dplyr version 1.1.4

conflicted::conflict_scout()
36 conflicts
• rename(): S4Vectors and dplyr
I find it and that is ......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants