Skip to content

Commit

Permalink
MINOR: [R] add back dplyr:: to left_join calls (#43348)
Browse files Browse the repository at this point in the history
Necessary for a clean check. These were inadvertently taken out in #41576 and don't actually change any code, just appeases the static checker that CRAN runs.

Authored-by: Jonathan Keane <[email protected]>
Signed-off-by: Jonathan Keane <[email protected]>
  • Loading branch information
jonkeane authored Jul 21, 2024
1 parent fe51029 commit c3ebdf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r/R/dplyr-mutate.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ mutate.arrow_dplyr_query <- function(.data,
agg_query$aggregations <- mask$.aggregations
agg_query <- collapse.arrow_dplyr_query(agg_query)
if (length(grv)) {
out <- left_join(out, agg_query, by = grv)
out <- dplyr::left_join(out, agg_query, by = grv)
} else {
# If there are no group_by vars, add a scalar column to both and join on that
agg_query$selected_columns[["..tempjoin"]] <- Expression$scalar(1L)
out$selected_columns[["..tempjoin"]] <- Expression$scalar(1L)
out <- left_join(out, agg_query, by = "..tempjoin")
out <- dplyr::left_join(out, agg_query, by = "..tempjoin")
}
}

Expand Down

0 comments on commit c3ebdf5

Please sign in to comment.