« first day (2103 days earlier)      last day (1072 days later) » 

2:45 AM
@thelatemail i think you meant to add dplyr rather than lubridate here? year is a base function, while lubridate lacks mutate_each. http://stackoverflow.com/documentation/proposed/changes/23719

i was using lapply to keep the focus on piping without getting into the weeds of packages beyond magrittr, but i can see the appeal of doing it your way, too. maybe we should show both
d'oh, i thought year was a base function, turns out i was getting it from data.table. anyway, i guess dplyr is needed. i'll add it, please correct if i've got anything else wrong, thanks
 
3:08 AM
@Frank - seems we've got in a bit of a tangle! I think your resolution you've suggested is good.
 
 
9 hours later…
12:33 PM
A user is repeatedly editing the question on reproducible examples. I don't think his edits are making the question better, so have rolled back several times. Am I justified in my view and comment?
1413
Q: How to make a great R reproducible example?

AndrieWhen discussing performance with colleagues, teaching, sending a bug report or searching for guidance on mailing lists and here on SO, a reproducible example is often asked and always helpful. What are your tips for creating an excellent example? How do you paste data structures from r in a tex...

 
 
5 hours later…
5:15 PM
@Andrie yes, I think so. The question is quite clear as is.
 
yeah, though you might not be justified in hoping that the user can be convinced
 

« first day (2103 days earlier)      last day (1072 days later) »