From 1245a1810753d1bcb47319541c6d2b556f26b267 Mon Sep 17 00:00:00 2001 From: Davis Vaughan Date: Fri, 5 Dec 2025 10:13:24 -0500 Subject: [PATCH 1/3] Tweak `cran-comments.md` --- cran-comments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cran-comments.md b/cran-comments.md index 1c3a366c..52ad31e1 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1 +1 @@ -This is a patch release to resolve R CMD check issues on R-devel. We don't anticipate any revdep changes. +This is a patch release with no expected issues. From ed35733fa350b5fb47b843fda043cffb1bad1e26 Mon Sep 17 00:00:00 2001 From: Davis Vaughan Date: Fri, 5 Dec 2025 10:14:45 -0500 Subject: [PATCH 2/3] Increment version number to 1.3.2 --- DESCRIPTION | 2 +- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b248957b..01d56e69 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: tidyr Title: Tidy Messy Data -Version: 1.3.1.9000 +Version: 1.3.2 Authors@R: c( person("Hadley", "Wickham", , "hadley@posit.co", role = c("aut", "cre")), person("Davis", "Vaughan", , "davis@posit.co", role = "aut"), diff --git a/NEWS.md b/NEWS.md index 0c786f5d..206fe458 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# tidyr (development version) +# tidyr 1.3.2 * `fill()` gains a `.by` argument as an alternative to `dplyr::group_by()` for applying the fill per group, similar to `nest(.by =)` and From b3e03d3e47aff15b68a075f34b9a24f62d680972 Mon Sep 17 00:00:00 2001 From: Davis Vaughan Date: Fri, 5 Dec 2025 10:57:50 -0500 Subject: [PATCH 3/3] Use local copy of `.by` documentation --- R/fill.R | 5 +++-- man/fill.Rd | 8 +++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/R/fill.R b/R/fill.R index 6838f73c..bed327ce 100644 --- a/R/fill.R +++ b/R/fill.R @@ -12,10 +12,11 @@ #' boundaries. This can also be accomplished using the `.by` argument to #' `fill()`, which creates a temporary grouping for just this operation. #' -#' @inheritParams dplyr::mutate -#' #' @param data A data frame. #' @param ... <[`tidy-select`][tidyr_tidy_select]> Columns to fill. +#' @param .by <[`tidy-select`][tidyr_tidy_select]> Optionally, a selection of +#' columns to group by for just this operation, functioning as an alternative +#' to [dplyr::group_by()]. #' @param .direction Direction in which to fill missing values. Currently #' either "down" (the default), "up", "downup" (i.e. first down and then up) #' or "updown" (first up and then down). diff --git a/man/fill.Rd b/man/fill.Rd index 3f1d6edc..566a21fa 100644 --- a/man/fill.Rd +++ b/man/fill.Rd @@ -11,11 +11,9 @@ fill(data, ..., .by = NULL, .direction = c("down", "up", "downup", "updown")) \item{...}{<\code{\link[=tidyr_tidy_select]{tidy-select}}> Columns to fill.} -\item{.by}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}} - -<\code{\link[dplyr:dplyr_tidy_select]{tidy-select}}> Optionally, a selection of columns to -group by for just this operation, functioning as an alternative to \code{\link[dplyr:group_by]{group_by()}}. For -details and examples, see \link[dplyr:dplyr_by]{?dplyr_by}.} +\item{.by}{<\code{\link[=tidyr_tidy_select]{tidy-select}}> Optionally, a selection of +columns to group by for just this operation, functioning as an alternative +to \code{\link[dplyr:group_by]{dplyr::group_by()}}.} \item{.direction}{Direction in which to fill missing values. Currently either "down" (the default), "up", "downup" (i.e. first down and then up)