This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 15810b5bef ARROW-16939 [R] Fix nightly builds after the merge of 
ARROW-16407 (#13479)
15810b5bef is described below

commit 15810b5bef491a5dec038df25b10f3d37e4e3efd
Author: Dragoș Moldovan-Grünfeld <[email protected]>
AuthorDate: Fri Jul 1 01:10:20 2022 +0100

    ARROW-16939 [R] Fix nightly builds after the merge of ARROW-16407 (#13479)
    
    RE2 is not available for the minimal nightly builds so this PR skips a 
problematic unit test.
    
    Authored-by: Dragoș Moldovan-Grünfeld <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 r/tests/testthat/test-dplyr-funcs-datetime.R | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/r/tests/testthat/test-dplyr-funcs-datetime.R 
b/r/tests/testthat/test-dplyr-funcs-datetime.R
index 15af0c9f8d..dc9e5609ea 100644
--- a/r/tests/testthat/test-dplyr-funcs-datetime.R
+++ b/r/tests/testthat/test-dplyr-funcs-datetime.R
@@ -2071,6 +2071,11 @@ test_that("parse_date_time with month names and HMS", {
   # locale (affecting "%b% and "%B" formats) does not work properly on Windows
   # TODO revisit once https://issues.apache.org/jira/browse/ARROW-16443 is done
   skip_on_os("windows")
+
+  # these functions' internals use some string processing which requires the
+  # RE2 library (not available on Windows with R 3.6 & the minimal nightly 
builds)
+  skip_if_not_available("re2")
+
   test_dates_times2 <- tibble(
     ymd_hms_string =
       c("67-Jan-09 12:34:56", "1970-June-22 20:13:59", "87Aug22201359", NA),

Reply via email to