eitsupi commented on PR #14091:
URL: https://github.com/apache/arrow/pull/14091#issuecomment-1250066981

   > It sounds like you've hit a case that's not covered in the test suite? Can 
you add a test that is fixed by this change?
   
   The reason this error does not occur in the current test is that this error 
does not occur when dplyr is loaded.
   It seems to stop loading dplyr on all files to detect this in the tests...
   (I wondered if lintr could detect such cases, but apparently it cannot.)
   
   reprex on 02b24f72920174d554e61c67bdf33a5ee4764bd6
   
   ``` r
   fn <- \() mtcars |> arrow::arrow_table() |> 
dplyr::mutate(dplyr::across(starts_with("c"), as.character)) |> head() |> 
dplyr::collect()
   fn()
   #> Error in quo(!!call2(.x, sym(.y))): could not find function "quo"
   library(dplyr, warn.conflicts = FALSE)
   fn()
   #>    mpg cyl disp  hp drat    wt  qsec vs am gear carb
   #> 1 21.0   6  160 110 3.90 2.620 16.46  0  1    4    4
   #> 2 21.0   6  160 110 3.90 2.875 17.02  0  1    4    4
   #> 3 22.8   4  108  93 3.85 2.320 18.61  1  1    4    1
   #> 4 21.4   6  258 110 3.08 3.215 19.44  1  0    3    1
   #> 5 18.7   8  360 175 3.15 3.440 17.02  0  0    3    2
   #> 6 18.1   6  225 105 2.76 3.460 20.22  1  0    3    1
   ```
   
   <sup>Created on 2022-09-17 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>


-- 
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-unsubscr...@arrow.apache.org

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

Reply via email to