-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Description
I want to convert a tibble to a data.frame. Since I'm used to the tidyverse having it's own non-R-style syntax (using underscores instead of dots), I tried this:
as_data_frame(as_tibble(iris))
and was told
Warning message:
`as_data_frame()` was deprecated in tibble 2.0.0.
Please use `as_tibble()` instead.
The signature and semantics have changed, see `?as_tibble`.
This warning message is very confusing and the help page is not clear either. It would be nice if both the warning and the help page said something like: "Maybe you meant as.data.frame", since that is actually the right syntax to convert a tibble into a dataframe.
as.data.frame(as_tibble(iris))
General comment: The decision to use "as_" instead of "as." has created much confusion.
Metadata
Metadata
Assignees
Labels
No labels