-
Notifications
You must be signed in to change notification settings - Fork 21
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
Switch from lubridate to hms #28
Conversation
Codecov Report
@@ Coverage Diff @@
## master #28 +/- ##
=========================================
+ Coverage 50.61% 56.1% +5.49%
=========================================
Files 11 11
Lines 735 745 +10
=========================================
+ Hits 372 418 +46
+ Misses 363 327 -36
Continue to review full report at Codecov.
|
Fixed the failing tests. @tbuckl I saw you made set_hms_times internal. What's your proposed workflow to use it? Because if it's not exported we should include in read_gtfs? |
first of all, thanks so much for the tests. everyone can appreciate tests. regarding making |
also, good catch with lubridate/hms! |
No worries, there's no need to rush things |
Sorry for the kinda erratic development but I had to revisit #26. Apparently tidyverse functions don't work with lubridate (see github issue). That's why I changed the implementation of
set_hms_times
to work withhms::hms
. That way, joining and otherwise filtering tables seems to work. The time functions of lubridate would've been a bit overkill anyways, since we don't have to work with timezones and so on.Maybe more important: There's now tests covering the two methods added in #26. I also fixed a bug with date ranges.