From 0c950892bb83e8cbc32d097d038e8445b374b447 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Tue, 26 Sep 2023 08:13:09 -0500 Subject: [PATCH] Fix doc typo --- R/translate-sql-window.R | 2 +- man/win_over.Rd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/translate-sql-window.R b/R/translate-sql-window.R index 2c5b1c985..ed72a9c13 100644 --- a/R/translate-sql-window.R +++ b/R/translate-sql-window.R @@ -7,7 +7,7 @@ #' the grouping and order context set up by [group_by()] and [arrange()]. #' #' @param expr The window expression -#' @param parition Variables to partition over +#' @param partition Variables to partition over #' @param order Variables to order by #' @param frame A numeric vector of length two defining the frame. #' @param f The name of an sql function as a string diff --git a/man/win_over.Rd b/man/win_over.Rd index 085e3e56d..58827a584 100644 --- a/man/win_over.Rd +++ b/man/win_over.Rd @@ -43,13 +43,13 @@ win_rank_tdata(f) \arguments{ \item{expr}{The window expression} +\item{partition}{Variables to partition over} + \item{order}{Variables to order by} \item{frame}{A numeric vector of length two defining the frame.} \item{f}{The name of an sql function as a string} - -\item{parition}{Variables to partition over} } \description{ \code{win_over()} makes it easy to generate the window function specification.