Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upas.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,
?sprintfwarns:Linux session info: