You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working through some of the same code in the vignette: using tibbletime with dplyr, and noticed a problem with the print method after using bind_rows to join two tbl_time objects.
Thanks, this is an unfortunate but known bug that has to do with bind_rows() not being a generic function. We can't define how it should interact with tbl_time objects, and unfortunately it removes attributes but not the tbl_time class. This means that when the object is printed, it prints using the tbl_time method, but cannot find the index_quo attribute required to print correctly. I have an open issue about this on dplyr, tidyverse/dplyr#3259, and others have reported similar issues with it not being generic, but I don't know when it will be fixed. The easy solution is to just pipe into as_tbl_time again to restore the attributes.
I was working through some of the same code in the vignette: using tibbletime with dplyr, and noticed a problem with the print method after using
bind_rows
to join twotbl_time
objects.The
price_series
assignment above works, but you can't print the object until you run the next step in the pipe,%>% as_tbl_time
.I would think that you want to be ensure that breaking a pipe process at any point allows for inspection.
Thoughts?
The text was updated successfully, but these errors were encountered: