Skip to content

Commit

Permalink
group_drop(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois committed Jan 9, 2019
1 parent d48e1f7 commit 55c1c18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions R/group_trim.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
#' group_trim()
#'
#' @export
group_trim <- function(.tbl, .drop = group_drop(.tbl)) {
group_trim <- function(.tbl, .drop = group_drops(.tbl)) {
UseMethod("group_trim")
}

#' @export
group_trim.data.frame <- function(.tbl, .drop = group_drop(.tbl)) {
group_trim.data.frame <- function(.tbl, .drop = group_drops(.tbl)) {
.tbl
}

#' @export
group_trim.grouped_df <- function(.tbl, .drop = group_drop(.tbl)) {
group_trim.grouped_df <- function(.tbl, .drop = group_drops(.tbl)) {
vars <- group_vars(.tbl)
ungrouped <- ungroup(.tbl)

Expand Down
2 changes: 1 addition & 1 deletion man/group_trim.Rd

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

0 comments on commit 55c1c18

Please sign in to comment.