From 33a85cb857084e79c43dcac26640c9db45400df8 Mon Sep 17 00:00:00 2001 From: Leonidas Zhak <70497898+LeonidasZhak@users.noreply.github.com> Date: Sun, 7 Jun 2026 08:50:54 +0800 Subject: [PATCH 1/2] docs: fix double-double-quotes in slide_index.Rd example comments The inline code references to dates in the example had extra leading double-quotes: `""2019-09-03"` instead of `"2019-09-03"`. Fixed in roxygen source and regenerated Rd. --- R/slide-index.R | 4 ++-- man/slide_index.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/slide-index.R b/R/slide-index.R index 2d6314c..30df1fe 100644 --- a/R/slide-index.R +++ b/R/slide-index.R @@ -133,8 +133,8 @@ #' #' # The first 16 slots are NULL because there is no possible way to #' # look back 19 days from the 16th index position and construct a full -#' # window. But on the 17th index position, `""2019-09-03"`, if we look -#' # back 19 days we get to `""2019-08-15"`, which is the same value as +#' # window. But on the 17th index position, `"2019-09-03"`, if we look +#' # back 19 days we get to `"2019-08-15"`, which is the same value as #' # `i[1]` so a full window can be constructed. #' df$i[16] - 19 >= df$i[1] # FALSE #' df$i[17] - 19 >= df$i[1] # TRUE diff --git a/man/slide_index.Rd b/man/slide_index.Rd index 73fefb9..20b0ea5 100644 --- a/man/slide_index.Rd +++ b/man/slide_index.Rd @@ -274,8 +274,8 @@ regr[16:18] # The first 16 slots are NULL because there is no possible way to # look back 19 days from the 16th index position and construct a full -# window. But on the 17th index position, `""2019-09-03"`, if we look -# back 19 days we get to `""2019-08-15"`, which is the same value as +# window. But on the 17th index position, `"2019-09-03"`, if we look +# back 19 days we get to `"2019-08-15"`, which is the same value as # `i[1]` so a full window can be constructed. df$i[16] - 19 >= df$i[1] # FALSE df$i[17] - 19 >= df$i[1] # TRUE From 0e1c926a301eff682f342714d3778892a1598bde Mon Sep 17 00:00:00 2001 From: Leonidas Zhak <70497898+LeonidasZhak@users.noreply.github.com> Date: Sun, 7 Jun 2026 09:25:56 +0800 Subject: [PATCH 2/2] docs: fix grammar in hop.Rd example comment Change let's (let us) to lets (allows) in the hop() example comment. --- R/hop.R | 2 +- man/hop.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/hop.R b/R/hop.R index f26566c..9c08327 100644 --- a/R/hop.R +++ b/R/hop.R @@ -77,7 +77,7 @@ #' } #' #' @examples -#' # `hop()` let's you manually specify locations to apply `.f` at. +#' # `hop()` lets you manually specify locations to apply `.f` at. #' hop(1:3, .starts = c(1, 3), .stops = 3, ~.x) #' #' # `hop()`'s start/stop locations are allowed to be out of bounds relative diff --git a/man/hop.Rd b/man/hop.Rd index 5aa88d1..4229286 100644 --- a/man/hop.Rd +++ b/man/hop.Rd @@ -119,7 +119,7 @@ hop(1:2, .starts = c(0, 1), .stops = c(1, 2), ~.x) }\if{html}{\out{}} } \examples{ -# `hop()` let's you manually specify locations to apply `.f` at. +# `hop()` lets you manually specify locations to apply `.f` at. hop(1:3, .starts = c(1, 3), .stops = 3, ~.x) # `hop()`'s start/stop locations are allowed to be out of bounds relative