Neal Richardson created ARROW-18285: ---------------------------------------
Summary: [R] Fix for failing test after lubridate 1.9 release Key: ARROW-18285 URL: https://issues.apache.org/jira/browse/ARROW-18285 Project: Apache Arrow Issue Type: Bug Components: R Reporter: Neal Richardson Fix For: 10.0.1, 11.0.0 {code} ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-dplyr-funcs-datetime.R:2163'): ym, my & yq parsers ─────────── `object` (`actual`) not equal to `expected` (`expected`). [2] "1970-04-01" - NA [2] [3] "2020-01-01" - NA [3] [4] "2009-10-01" | "2009-10-01" [4] [5] "1975-01-01" | "1975-01-01" [5] [6] NA | NA [6] Backtrace: ▆ 1. └─arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:2163:2 2. └─arrow:::expect_equal(via_batch, expected, ...) at tests/testthat/helper-expectation.R:115:4 3. └─testthat::expect_equal(...) at tests/testthat/helper-expectation.R:42:4 ── Failure ('test-dplyr-funcs-datetime.R:2163'): ym, my & yq parsers ─────────── `object` (`actual`) not equal to `expected` (`expected`). actual vs expected qy_date_from_numeric qy_date_from_numeric2 actual[1, ] 2007-07-01 2007-07-01 - actual[2, ] 1970-04-01 1970-04-01 + expected[2, ] NA NA - actual[3, ] 2020-01-01 2020-01-01 + expected[3, ] NA NA actual[4, ] 2009-10-01 2009-10-01 actual[5, ] 1975-01-01 1975-01-01 actual[6, ] NA NA actual$qy_date_from_numeric | expected$qy_date_from_numeric [1] "2007-07-01" | "2007-07-01" [1] [2] "1970-04-01" - NA [2] [3] "2020-01-01" - NA [3] [4] "2009-10-01" | "2009-10-01" [4] [5] "1975-01-01" | "1975-01-01" [5] [6] NA | NA [6] actual$qy_date_from_numeric2 | expected$qy_date_from_numeric2 [1] "2007-07-01" | "2007-07-01" [1] [2] "1970-04-01" - NA [2] [3] "2020-01-01" - NA [3] [4] "2009-10-01" | "2009-10-01" [4] [5] "1975-01-01" | "1975-01-01" [5] [6] NA | NA [6] Backtrace: ▆ 1. └─arrow:::compare_dplyr_binding(...) at test-dplyr-funcs-datetime.R:2163:2 2. └─arrow:::expect_equal(via_table, expected, ...) at tests/testthat/helper-expectation.R:129:4 3. └─testthat::expect_equal(...) at tests/testthat/helper-expectation.R:42:4 [ FAIL 2 | WARN 2 | SKIP 32 | PASS 9071 ] Error: Test failures {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)