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] 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