-
Notifications
You must be signed in to change notification settings - Fork 1k
Added [<-.IDate so that rbind.data.frame retains integer IDate #3602
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
22a03c8
Closes #2008 -- updates for IDate such that rbind.data.frame retains …
MichaelChirico ae3c177
improved implementation
6c0dd54
add comment & restore simple as.IDate.IDate
d39e99a
fixed test?
MichaelChirico 58cbf3c
comments addressing test change
MichaelChirico 9ed60ce
coverage
MichaelChirico d532237
merge master and soften news item
mattdowle 908701c
tidy
mattdowle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, the level of deja vu on reading this:
In fact I went through the same existential crisis for a while this morning! I'm not sure what was tried for
[<-.IDateback then, maybe theNextMethodapproach? I tried that as well but it seems fundamentally doomed because...inNextMethodcan't be passed asoriginto theas.Datecall in[<-.Date, which is needed if we pass the underlyingintegerto[<-.Dateasvalue. If we pass anIDate, the #2008 problem happens --doublewithIDateclass. I didn't try runningas.Date(value)but that would mean coercing numeric just to get[<-.Dateand then back to integer aftewards... seems silly.Anyway I think we can change this test that was testing that a bug was still a bug. Now the bug is fixed. I'm not sure if the subsequent test is still needed, but it can't hurt.