Skip to content
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

[R][CI] Failed tests in test-dplyr-funcs-datetime.R #33066

Closed
asfimport opened this issue Sep 26, 2022 · 1 comment
Closed

[R][CI] Failed tests in test-dplyr-funcs-datetime.R #33066

asfimport opened this issue Sep 26, 2022 · 1 comment

Comments

@asfimport
Copy link
Collaborator

Just saw this on an unrelated PR:
https://github.com/pitrou/arrow/actions/runs/3129051648/jobs/5078785139#step:11:23882

-- Failure (test-dplyr-funcs-datetime.R:461:3): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                  a                  a2
- actual[1, ]   2018-10-07          2018-10-07         
+ expected[1, ] 2018-10-07 19:04:05 2018-10-07 19:04:05
  actual[2, ]   NA                  NA                 

`actual$a`:   "2018-10-07"          NA
`expected$a`: "2018-10-07 19:04:05" NA

`actual$a2`:   "2018-10-07"          NA
`expected$a2`: "2018-10-07 19:04:05" NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:461:2
 2.   \-arrow:::expect_equal(via_batch, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:115:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:461:3): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                  a                  a2
- actual[1, ]   2018-10-07          2018-10-07         
+ expected[1, ] 2018-10-07 19:04:05 2018-10-07 19:04:05
  actual[2, ]   NA                  NA                 

`actual$a`:   "2018-10-07"          NA
`expected$a`: "2018-10-07 19:04:05" NA

`actual$a2`:   "2018-10-07"          NA
`expected$a2`: "2018-10-07 19:04:05" NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:461:2
 2.   \-arrow:::expect_equal(via_table, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:129:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:492:5): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                  x
- actual[1, ]   2018-10-07-0600    
+ expected[1, ] 2018-10-07 19:04:05
  actual[2, ]   NA                 

`actual$x`:   "2018-10-07-0600"     NA
`expected$x`: "2018-10-07 19:04:05" NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:492:4
 2.   \-arrow:::expect_equal(via_batch, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:115:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:492:5): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                  x
- actual[1, ]   2018-10-07-0600    
+ expected[1, ] 2018-10-07 19:04:05
  actual[2, ]   NA                 

`actual$x`:   "2018-10-07-0600"     NA
`expected$x`: "2018-10-07 19:04:05" NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:492:4
 2.   \-arrow:::expect_equal(via_table, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:129:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:500:5): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                       x
- actual[1, ]   2018-10-07T19:04:05-0600
+ expected[1, ] 2018-10-07 19:04:05     
  actual[2, ]   NA                      

`actual$x`:   "2018-10-07T19:04:05-0600" NA
`expected$x`: "2018-10-07 19:04:05"      NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:500:4
 2.   \-arrow:::expect_equal(via_batch, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:115:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:500:5): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                       x
- actual[1, ]   2018-10-07T19:04:05-0600
+ expected[1, ] 2018-10-07 19:04:05     
  actual[2, ]   NA                      

`actual$x`:   "2018-10-07T19:04:05-0600" NA
`expected$x`: "2018-10-07 19:04:05"      NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:500:4
 2.   \-arrow:::expect_equal(via_table, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:129:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:511:3): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                  x
- actual[1, ]   2018-10-07T19:04:05
+ expected[1, ] 2018-10-07 19:04:05
  actual[2, ]   NA                 

`actual$x`:   "2018-10-07T19:04:05" NA
`expected$x`: "2018-10-07 19:04:05" NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:511:2
 2.   \-arrow:::expect_equal(via_batch, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:115:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4
-- Failure (test-dplyr-funcs-datetime.R:511:3): format_ISO8601 -----------------
`object` (`actual`) not equal to `expected` (`expected`).

actual vs expected
                                  x
- actual[1, ]   2018-10-07T19:04:05
+ expected[1, ] 2018-10-07 19:04:05
  actual[2, ]   NA                 

`actual$x`:   "2018-10-07T19:04:05" NA
`expected$x`: "2018-10-07 19:04:05" NA
Backtrace:
    x
 1. \-arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:511:2
 2.   \-arrow:::expect_equal(via_table, expected, ...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:129:4
 3.     \-testthat::expect_equal(...) at D:\a\arrow\arrow\r\check\arrow.Rcheck\tests\testthat\helper-expectation.R:42:4

[ FAIL 8 | WARN 1 | SKIP 42 | PASS 8436 ]

Reporter: Antoine Pitrou / @pitrou
Assignee: Neal Richardson / @nealrichardson

PRs and other links:

Note: This issue was originally created as ARROW-17848. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Neal Richardson / @nealrichardson:
Issue resolved by pull request 14282
#14282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants