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
Of course, the same problem and solution happen for other set operations like intersect and others.
I guess that since they are implemented for the Interval class, it would make sense to implement them for Date. I'm not using other lubridate classes much but maybe they have the same problem.
The text was updated successfully, but these errors were encountered:
DanChaltiel
changed the title
Implement a setdiff.Date() method
Implement Set Operations methods for Dates
Feb 6, 2024
Hi,
Using set operations like
setdiff
on dates removes the date class.Here is a reprex with a very naive workaround:
Created on 2024-02-06 with reprex v2.0.2
Of course, the same problem and solution happen for other set operations like intersect and others.
I guess that since they are implemented for the
Interval
class, it would make sense to implement them forDate
. I'm not using other lubridate classes much but maybe they have the same problem.The text was updated successfully, but these errors were encountered: