You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Mauricio 'Pachá' Vargas Sepúlveda (Jira)" <ji...@apache.org> on 2021/04/22 17:52:00 UTC
[jira] [Created] (ARROW-12511) [R] na.omit test error on Array and
ChunkedArray
Mauricio 'Pachá' Vargas Sepúlveda created ARROW-12511:
---------------------------------------------------------
Summary: [R] na.omit test error on Array and ChunkedArray
Key: ARROW-12511
URL: https://issues.apache.org/jira/browse/ARROW-12511
Project: Apache Arrow
Issue Type: Bug
Components: R
Affects Versions: 3.0.0
Reporter: Mauricio 'Pachá' Vargas Sepúlveda
_This is linked to https://github.com/apache/arrow/pull/10056._
*R 3.3. nightly*
See https://github.com/ursacomputing/crossbow/runs/2407283789#step:7:11574, which is the nightly build for R 3.3. Please notice that R 3.4 and 3.5 pass the build on bionic.
One of the errors is:
{code:java}
── Error (test-na-omit.R:32:3): na.omit on Array and ChunkedArray ──────────────
Error: attempt to replicate an object of type 'closure'
Backtrace:
█
1. └─arrow:::expect_vector_equal(na.omit(input), data_na, ignore_attr = TRUE) test-na-omit.R:32:2
2. └─arrow:::expect_as_vector(via_array, expected, ignore_attr, ...) helper-expectation.R:170:4
3. └─base::ifelse(ignore_attr, expect_equivalent, expect_equal) helper-expectation.R:19:2
── Error (test-na-omit.R:37:3): na.exclude on Array and ChunkedArray ───────────
{code}
R without Arrow
See https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=4117&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=532. This is a different error which happens t appear with test-na-omit. In the case the error is:
{code:java}
── Error (test-na-omit.R:20:1): (code run outside of `test_that()`) ────────────
Error: Cannot call vec_to_arrow(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
█
1. └─Scalar$create(NA) test-na-omit.R:20:0
2. ├─arrow:::Array__GetScalar(Array$create(x, type = type), 0)
3. └─Array$create(x, type = type)
4. └─arrow:::vec_to_arrow(x, type)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)