Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# dplyr (development version)

* Removed the `name` argument from the `compute()` generic (@ianmcook, #5783).

# dplyr 1.0.5

* Fixed edge case of `slice_sample()` when `weight_by=` is used and there
Expand Down
5 changes: 2 additions & 3 deletions R/compute-collect.r
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
#' @param x A data frame, data frame extension (e.g. a tibble), or a lazy
#' data frame (e.g. from dbplyr or dtplyr). See *Methods*, below, for more
#' details.
#' @param name Name of temporary table on database.
#' @param ... Other arguments passed on to methods
#' @param ... Arguments passed on to methods
#' @seealso [copy_to()], the opposite of `collect()`: it takes a local data
#' frame and uploads it to the remote source.
#' @export
Expand All @@ -45,7 +44,7 @@
#' # Creates a fresh query based on the generated SQL
#' collapse(remote)
#' }
compute <- function(x, name = random_table_name(), ...) {
compute <- function(x, ...) {
UseMethod("compute")
}
#' @export
Expand Down
6 changes: 2 additions & 4 deletions man/compute.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.