You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/12 13:48:23 UTC

[GitHub] [arrow-cookbook] lidavidm opened a new issue, #201: [R] Cookbook deployment fails due to R tests failing

lidavidm opened a new issue, #201:
URL: https://github.com/apache/arrow-cookbook/issues/201

   https://github.com/apache/arrow-cookbook/runs/6391576879?check_suite_focus=true
   
   ```
   >>> Testing R Cookbook <<<
   
   cd ./r && Rscript ./scripts/test.R
   
   Attaching package: ‘arrow’
   
   The following object is masked from ‘package:testthat’:
   
       matches
   
   The following object is masked from ‘package:utils’:
   
       timestamp
   
   
   Attaching package: ‘dplyr’
   
   The following object is masked from ‘package:testthat’:
   
       matches
   
   The following objects are masked from ‘package:stats’:
   
       filter, lag
   
   The following objects are masked from ‘package:base’:
   
       intersect, setdiff, setequal, union
   
   ✔ | F W S  OK | Context
   
   ⠏ |         0 | arrays                                                          
   ⠴ | 1       5 | arrays                                                          
   ✖ | 1       8 | arrays [0.1s]
   ────────────────────────────────────────────────────────────────────────────────
   Failure (test-arrays.R:67:3): array_fivenum works as expected
   `expect_error(fivenum(arrow_array))` did not produce any warnings.
   ────────────────────────────────────────────────────────────────────────────────
   
   ⠏ |         0 | creating_arrow_objects                                          
   ✔ |         7 | creating_arrow_objects
   
   ⠏ |         0 | flight                                                          
   ⠏ |         0 | python                                                          
   ⠋ |         1 | python                                                          
   ⠙ |         2 | python                                                          
   ✔ |         2 | python [4.4s]
   
   ⠏ |         0 | reading_and_writing_data                                        
   ⠦ |         7 | reading_and_writing_data                                        
   ⠇ |         9 | reading_and_writing_data                                        
   ⠴ |        16 | reading_and_writing_data                                        
   ⠇ |        19 | reading_and_writing_data                                        
   ⠸ |     2  22 | reading_and_writing_data                                        
   ✔ |     2  23 | reading_and_writing_data [0.8s]
   ────────────────────────────────────────────────────────────────────────────────
   Skip (test-reading_and_writing_data.R:390:1): parquet_gzip
   Reason: empty test
   
   Skip (test-reading_and_writing_data.R:418:1): dataset_gzip
   Reason: empty test
   ────────────────────────────────────────────────────────────────────────────────
   
   ⠏ |         0 | specify_data_types_and_schemas                                  
   ⠦ |         7 | specify_data_types_and_schemas                                  
   ✔ |         8 | specify_data_types_and_schemas [0.1s]
   
   ⠏ |         0 | tables                                                          
   ⠋ |         1 | tables                                                          
   ⠴ |         6 | tables                                                          
   ⠋ |   2     9 | tables                                                          
   ⠼ |   2    13 | tables                                                          
   ✔ |   2    13 | tables [0.5s]
   ────────────────────────────────────────────────────────────────────────────────
   Warning (test-tables.R:162:1): (code run outside of `test_that()`)
   Expression str_split_fixed(name, " ", 2) not supported in Arrow; pulling data into R
   Backtrace:
    1. ... %>% collect()
         at test-tables.R:162:0
    4. arrow:::mutate.ArrowTabular(...)
    5. arrow:::abandon_ship(call, .data, msg)
   
   Warning (test-tables.R:189:1): (code run outside of `test_that()`)
   Expression stringr::str_to_lower(name) not supported in Arrow; pulling data into R
   Backtrace:
    1. ... %>% collect()
         at test-tables.R:189:0
    5. arrow:::mutate.arrow_dplyr_query(., name_lower = stringr::str_to_lower(name))
    6. arrow:::abandon_ship(call, .data, msg)
   ────────────────────────────────────────────────────────────────────────────────
   
   ══ Results ═════════════════════════════════════════════════════════════════════
   Duration: 6.2 s
   
   ── Skipped tests  ──────────────────────────────────────────────────────────────
   • empty test (2)
   
   [ FAIL 1 | WARN 2 | SKIP 2 | PASS 61 ]
   Error: Error: Test failures
   ```


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-cookbook] thisisnic commented on issue #201: [R] Cookbook deployment fails due to R tests failing

Posted by GitBox <gi...@apache.org>.
thisisnic commented on issue #201:
URL: https://github.com/apache/arrow-cookbook/issues/201#issuecomment-1127515607

   Thanks for flagging this up @lidavidm!
   
   I think it's due to a change in R rather than Arrow (from R 4.2 NEWS):
   
   >  Calling if() or while() with a condition of length greater than one gives an error rather than a warning. Consequently, environment variable _R_CHECK_LENGTH_1_CONDITION_ no longer has any effect.
   
   This is now triggered by the internals of `fivenum()`.  Anyway, I'll submit a PR!


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-cookbook] lidavidm commented on issue #201: [R] Cookbook deployment fails due to R tests failing

Posted by GitBox <gi...@apache.org>.
lidavidm commented on issue #201:
URL: https://github.com/apache/arrow-cookbook/issues/201#issuecomment-1125020051

   CC @thisisnic, maybe things changed with the 8.0.0 release?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-cookbook] lidavidm closed issue #201: [R] Cookbook deployment fails due to R tests failing

Posted by GitBox <gi...@apache.org>.
lidavidm closed issue #201: [R] Cookbook deployment fails due to R tests failing
URL: https://github.com/apache/arrow-cookbook/issues/201


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org