Skip to content

[R] Cookbook deployment fails due to R tests failing #201

@lidavidm

Description

@lidavidm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    rThis issue is specific to the R language cookbook

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions