[ https://issues.apache.org/jira/browse/ARROW-14168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Keane updated ARROW-14168: ----------------------------------- Description: When someone calls median or quantile, we warn them that it is approximate. When a session is interactive, this happens only the first time in interactive sessions for {{median}} and {{quantile}} https://github.com/apache/arrow/blob/d197ad31c3d7c16ecee74cb76a71ce397e905b3b/r/R/dplyr-summarize.R#L107-L111 But when we test, the session is not interactive so we get a number of spurious extra warnings. Because of this we set a local testthat edition https://github.com/apache/arrow/blob/d197ad31c3d7c16ecee74cb76a71ce397e905b3b/r/tests/testthat/test-dplyr-summarize.R#L299-L301 which swallows any extra warnings. was:When someone calls median or quantile, we warn them that it is approximate. When a session is interactive, this happens only the first time > [R] Warn only once about arrow function differences > --------------------------------------------------- > > Key: ARROW-14168 > URL: https://issues.apache.org/jira/browse/ARROW-14168 > Project: Apache Arrow > Issue Type: Improvement > Components: R > Reporter: Neal Richardson > Priority: Major > Labels: good-first-issue > > When someone calls median or quantile, we warn them that it is approximate. > When a session is interactive, this happens only the first time in > interactive sessions for {{median}} and {{quantile}} > https://github.com/apache/arrow/blob/d197ad31c3d7c16ecee74cb76a71ce397e905b3b/r/R/dplyr-summarize.R#L107-L111 > But when we test, the session is not interactive so we get a number of > spurious extra warnings. Because of this we set a local testthat edition > https://github.com/apache/arrow/blob/d197ad31c3d7c16ecee74cb76a71ce397e905b3b/r/tests/testthat/test-dplyr-summarize.R#L299-L301 > which swallows any extra warnings. > -- This message was sent by Atlassian Jira (v8.20.1#820001)