[
https://issues.apache.org/jira/browse/ARROW-16188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521811#comment-17521811
]
Jonathan Keane commented on ARROW-16188:
----------------------------------------
FWIW the official answer from testthat is to use `suppressWarnings()` in this
kind of case: https://github.com/r-lib/testthat/issues/1083
> [R] Fix excess "Handling string data with embedded nuls" warning in tests
> -------------------------------------------------------------------------
>
> Key: ARROW-16188
> URL: https://issues.apache.org/jira/browse/ARROW-16188
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Edward Visel
> Priority: Major
>
> The R tests raise a warning
> {code:java}
> ══ Warnings
> ════════════════════════════════════════════════════════════════════════════════════════════════
> 1. Handling string data with embedded nuls (test-RecordBatch.R:547:3) -
> Stripping '\0' (nul) from character vector{code}
> That test is already has an expectation for the warning, so it is likely
> being raised repeatedly and the excess are not suppressed.
> AC: Warning not arising in tests because it is handled in an appropriate
> manner
--
This message was sent by Atlassian Jira
(v8.20.1#820001)