The function IDateTime generates an error when applied to POSIXct values without tzone attribute:
library(data.table)
IDateTime(Sys.time())
# Error in if (tz == "UTC") { : argument is of length zero
Versions
R: 3.3.2
data.table: 1.10.0 and latest 1.10.1
The function IDateTime generates an error when applied to POSIXct values without tzone attribute:
Versions
R: 3.3.2
data.table: 1.10.0 and latest 1.10.1