From 2cfdb4ec1452a1b362d8edd73a2b48c78f1c9aeb Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Sun, 7 May 2023 18:04:42 +0800 Subject: [PATCH 1/2] try to fix without mucking up whitespace Sorry, I copy-pasted and it must have introduced more changes than intended --- R/parsedate-package.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/parsedate-package.r b/R/parsedate-package.r index 02a37da..828ad09 100644 --- a/R/parsedate-package.r +++ b/R/parsedate-package.r @@ -54,7 +54,7 @@ yj <- function(x) as.POSIXct(x, format = "%Y %j", tz = "UTC") #' } #' \code{parse_date} returns quickly in case of empty input elements. #' -#' All dates are returned in the UTC time zone. If you preder a different +#' All dates are returned in the UTC time zone. If you prefer a different #' time zone, simply use `.POSIXct()` on the result, see examples below. #' #' @param dates A character vector. An error is reported if From c6716d2920b2e9b9615c451628db697f62fbfb4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Sun, 7 May 2023 14:17:23 +0200 Subject: [PATCH 2/2] Document --- DESCRIPTION | 2 +- man/parse_date.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 294ca05..453e19a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -14,5 +14,5 @@ Suggests: withr URL: https://github.com/gaborcsardi/parsedate BugReports: https://github.com/gaborcsardi/parsedate/issues -RoxygenNote: 6.1.1 +RoxygenNote: 7.2.3 Encoding: UTF-8 diff --git a/man/parse_date.Rd b/man/parse_date.Rd index 9eeb88e..2abcdc9 100644 --- a/man/parse_date.Rd +++ b/man/parse_date.Rd @@ -39,7 +39,7 @@ algorithm is the following: \code{parse_date} returns quickly in case of empty input elements. } \details{ -All dates are returned in the UTC time zone. If you preder a different +All dates are returned in the UTC time zone. If you prefer a different time zone, simply use `.POSIXct()` on the result, see examples below. } \examples{