Skip to content

Commit

Permalink
Full qualification, for dplyr
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Mar 8, 2024
1 parent ba115ce commit 5c9cca1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ importFrom(tibble,is_tibble)
importFrom(tibble,new_tibble)
importFrom(tibble,tibble)
importFrom(tidyselect,everything)
importFrom(utils,globalVariables)
importFrom(utils,head)
importFrom(vctrs,new_data_frame)
importFrom(vctrs,new_list_of)
Expand Down
2 changes: 1 addition & 1 deletion R/distinct.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by 02-duckplyr_df-methods.R
globalVariables("___row_number_by")
utils::globalVariables("___row_number_by")

#' @export
distinct.duckplyr_df <- function(.data, ..., .keep_all = FALSE) {
Expand Down
2 changes: 1 addition & 1 deletion R/duckplyr-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# https://github.com/tidyverse/dplyr/blob/16b472fb2afc50a87502c2b4ed803e2f5f82b9d6/R/dplyr.R#L7
#
# Can't use blanket cli import, imports must align with dplyr's imports
# (except we can import all of dplyr)
#
#' @import rlang
## usethis namespace: start
Expand All @@ -27,7 +28,6 @@
#' @importFrom tibble new_tibble
#' @importFrom tibble tibble
#' @importFrom tidyselect everything
#' @importFrom utils globalVariables
#' @importFrom utils head
#' @importFrom vctrs new_data_frame
#' @importFrom vctrs new_list_of
Expand Down
2 changes: 1 addition & 1 deletion R/summarise.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by 02-duckplyr_df-methods.R
globalVariables("___row_number")
utils::globalVariables("___row_number")

#' @export
summarise.duckplyr_df <- function(.data, ..., .by = NULL, .groups = NULL) {
Expand Down

0 comments on commit 5c9cca1

Please sign in to comment.