From 64f6fcba9ac83b1e0106c46f9a0627e84ccd09bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Tue, 14 May 2024 18:28:03 +0200 Subject: [PATCH] docs: Improve `?group_by_prepare` (#6999) --- R/distinct.R | 4 ++-- R/group-by.R | 2 +- man/group_by_prepare.Rd | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/R/distinct.R b/R/distinct.R index 29d7759da4..4009a73a32 100644 --- a/R/distinct.R +++ b/R/distinct.R @@ -71,8 +71,8 @@ distinct <- function(.data, ..., .keep_all = FALSE) { -#' Same basic philosophy as group_by_prepare(): lazy_dots comes in, list of data and -#' vars (character vector) comes out. +# Same basic philosophy as group_by_prepare(): lazy_dots comes in, list of data and +# vars (character vector) comes out. #' @rdname group_by_prepare #' @export distinct_prepare <- function(.data, diff --git a/R/group-by.R b/R/group-by.R index b55e82b7fa..fe2ece3c4a 100644 --- a/R/group-by.R +++ b/R/group-by.R @@ -183,7 +183,7 @@ ungroup.data.frame <- function(x, ...) { x } -#' Prepare for grouping. +#' Prepare for grouping and other operations #' #' `*_prepare()` performs standard manipulation that is needed prior #' to actual data processing. They are only be needed by packages diff --git a/man/group_by_prepare.Rd b/man/group_by_prepare.Rd index fbfd7ef67c..0641f3d5e0 100644 --- a/man/group_by_prepare.Rd +++ b/man/group_by_prepare.Rd @@ -3,8 +3,7 @@ \name{distinct_prepare} \alias{distinct_prepare} \alias{group_by_prepare} -\title{Same basic philosophy as group_by_prepare(): lazy_dots comes in, list of data and -vars (character vector) comes out.} +\title{Prepare for grouping and other operations} \usage{ distinct_prepare( .data,