File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,7 @@ apply_arrow_r_metadata <- function(x, r_metadata) {
188188 # we cannot apply this row-level metadata, since the order of the rows is
189189 # not guaranteed to be the same, so don't even try, but warn what's going on
190190 trace <- trace_back()
191- # TODO: remove `trace$calls %||% trace$call` once rlang > 0.4.11 is released
192- in_dplyr_collect <- any(map_lgl(trace $ calls %|| % trace $ call , function (x ) {
191+ in_dplyr_collect <- any(map_lgl(trace $ call , function (x ) {
193192 grepl(" collect\\ .([aA]rrow|Dataset)" , x )[[1 ]]
194193 }))
195194 if (in_dplyr_collect ) {
@@ -296,8 +295,7 @@ arrow_attributes <- function(x, only_top_level = FALSE) {
296295 # we cannot apply this row-level metadata, since the order of the rows is
297296 # not guaranteed to be the same, so don't even try, but warn what's going on
298297 trace <- trace_back()
299- # TODO: remove `trace$calls %||% trace$call` once rlang > 0.4.11 is released
300- in_dataset_write <- any(map_lgl(trace $ calls %|| % trace $ call , function (x ) {
298+ in_dataset_write <- any(map_lgl(trace $ call , function (x ) {
301299 grepl(" write_dataset" , x , fixed = TRUE )[[1 ]]
302300 }))
303301 if (in_dataset_write ) {
You can’t perform that action at this time.
0 commit comments