-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversion to dataframe fails with tibbles #121
Comments
After reading the other relevant issues and doing some testing I updated the PR to check if data is not a data.frame OR is a tibble to convert to a data.frame |
Impeccably timed feedback from a user in the community:
Perhaps we should just remove the check and always run I think we should definitely hem this in with test cases for various types of input and what types of output we would expect. It will be important to discern whether removing the check completely would cause breaking changes for vector inputs, for instance. |
I'm all for automatically calling |
When using
write.xlsx()
on a tibble at the end of a dplyr-style pipe, a very cryptic error appears:Apparently it's because the data is not considered as a dataframe and is not converted to one on the fly.
In addition, the dataframe isn't returned, so it can't be used to assign back the values or continue the pipe (like
readr::write_csv()
does).See my suggested PR #120
The text was updated successfully, but these errors were encountered: