-
Notifications
You must be signed in to change notification settings - Fork 992
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
as.character.ITime throws errors on NAs #2171
Comments
This is coming from
However, We could just force the output of @franknarf1 can you confirm that |
@MichaelChirico Sorry, I hadn't realized that my Windows data.table 1.10.5 was not recent enough (from 5/9, I think). Now that I have upgraded both platforms to data.table 1.10.5 IN DEVELOPMENT built 2017-05-18 00:04:56 UTC; travis (to get 0e68a72 ), every call in question gives that error on both platforms. I guess I learned my lesson to always give exhaustive session info. I could have caught my own mistake that way. Anyway, still a bug, just not platform-dependent. I'll edit the title. Thanks |
@franknarf1 thanks. I still am not sure whether this is a I'll push a fix here. I think http://stackoverflow.com/questions/43894077/what-is-the-difference-between-trunc-and-as-integer |
Appears this was counted as an R bug -- apparently fixed in latest devel version (72737): https://stat.ethz.ch/pipermail/r-devel/2017-May/074342.html I think we should keep |
[Note: I was mistaken in thinking this was a platform-dependent problem. Just keeping the Windows vs Linux bit so the thread still makes sense. Sorry about that.]
Trying...
This may seem like a minor issue, but it means that I cannot print any data.table containing ITime, like:
For whatever reason, my table does print after its various
:=
"update join" calls (I'm not really sure why), so my script can't run through.Why it's happening:
As far as I can tell, this is a valid format, used here:
data.table/R/IDateTime.R
Line 125 in 05f62b8
However,
?sprintf
warns:Linux session info:
The text was updated successfully, but these errors were encountered: