jonkeane commented on code in PR #49714:
URL: https://github.com/apache/arrow/pull/49714#discussion_r3117477683
##########
r/tests/testthat/test-type.R:
##########
@@ -53,6 +53,25 @@ test_that("infer_type() infers from R type", {
)
})
+test_that("infer_type() errors clearly for POSIXct with invalid tzone", {
+ x <- as.POSIXct("2019-02-14 13:55:05", tz = "UTC")
+ attr(x, "tzone") <- 123
Review Comment:
I assume this is because it's not possible to add the `tzone` directly,
yeah?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]