Skip to content

Commit

Permalink
MINOR: [R] Namespace missing from dplyr::tbl call
Browse files Browse the repository at this point in the history
Trivial fix here, apologies if you would prefer this as bug report instead of PR.

The call to `tbl` here is not namespaced from `dplyr`, which can cause problems when other packages attempt to use this function.

Closes apache#11813 from cboettig/patch-1

Authored-by: Carl Boettiger <cboettig@gmail.com>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
  • Loading branch information
cboettig authored and kou committed Dec 1, 2021
1 parent 73d6c4a commit 4a5ce6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/R/duckdb.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ to_duckdb <- function(.data,
.data <- as_adq(.data)
duckdb::duckdb_register_arrow(con, table_name, .data)

tbl <- tbl(con, table_name)
tbl <- dplyr::tbl(con, table_name)
groups <- dplyr::groups(.data)
if (length(groups)) {
tbl <- dplyr::group_by(tbl, groups)
Expand Down

0 comments on commit 4a5ce6f

Please sign in to comment.