diff --git a/DESCRIPTION b/DESCRIPTION index 2b69109e..3b333e6f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: timetk Type: Package Title: A Tool Kit for Working with Time Series -Version: 2.8.3 +Version: 2.8.3.9000 Authors@R: c( person("Matt", "Dancho", email = "mdancho@business-science.io", role = c("aut", "cre")), person("Davis", "Vaughan", email = "dvaughan@business-science.io", role = c("aut")) @@ -47,7 +47,6 @@ Imports: generics Suggests: tidymodels, - modeltime, workflows, parsnip, tune, @@ -66,5 +65,4 @@ Suggests: RoxygenNote: 7.2.3 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr -Remotes: - business-science/modeltime + diff --git a/NEWS.md b/NEWS.md index 1a2700ff..a99c2abc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,13 @@ +# timetk 2.8.3.9000 + +CRAN Fixes: +- `tzdata` time zone fixes: + - GB -> Europe/London + - NZ -> Pacific/Auckland + - US/Eastern -> America/New_York + - US/Pacific -> America/Los_Angeles +- Add @aliases to timetk-package + # timetk 2.8.3 - remove support for `robets` diff --git a/R/lubridate-date_parsers.R b/R/lubridate-date_parsers.R index cf35721e..3ecee72c 100644 --- a/R/lubridate-date_parsers.R +++ b/R/lubridate-date_parsers.R @@ -44,7 +44,7 @@ #' parse_datetime2("2011 Jan 1 12:35:21") #' #' # Time Zones (datetime only) -#' parse_datetime2("2011 Jan 1 12:35:21", tz = "GB") +#' parse_datetime2("2011 Jan 1 12:35:21", tz = "Europe/London") #' #' @name parse_date2 #' @export diff --git a/R/timetk-package.R b/R/timetk-package.R index bb9cafc2..ed0535da 100644 --- a/R/timetk-package.R +++ b/R/timetk-package.R @@ -16,6 +16,7 @@ #' @docType package #' @name timetk #' +#' @aliases timetk-package #' @importFrom dplyr %>% #' @importFrom xts xts #' @import recipes diff --git a/man/parse_date2.Rd b/man/parse_date2.Rd index 338543c3..b38bd28a 100644 --- a/man/parse_date2.Rd +++ b/man/parse_date2.Rd @@ -56,7 +56,7 @@ parse_datetime2("2011") parse_datetime2("2011 Jan 1 12:35:21") # Time Zones (datetime only) -parse_datetime2("2011 Jan 1 12:35:21", tz = "GB") +parse_datetime2("2011 Jan 1 12:35:21", tz = "Europe/London") } \references{ diff --git a/man/slice_period.Rd b/man/slice_period.Rd index 53c57b43..17ced0af 100644 --- a/man/slice_period.Rd +++ b/man/slice_period.Rd @@ -9,8 +9,8 @@ slice_period(.data, ..., .date_var, .period = "1 day") \arguments{ \item{.data}{A \code{tbl} object or \code{data.frame}} -\item{...}{For \code{slice()}: <\code{\link[dplyr:dplyr_data_masking]{data-masking}}> Integer row -values. +\item{...}{For \code{slice()}: <\code{\link[rlang:args_data_masking]{data-masking}}> +Integer row values. Provide either positive values to keep, or negative values to drop. The values provided must be either all positive or all negative. diff --git a/man/slidify.Rd b/man/slidify.Rd index ce4d41a6..9b068a39 100644 --- a/man/slidify.Rd +++ b/man/slidify.Rd @@ -25,7 +25,10 @@ are three ways to refer to the arguments: \item For more arguments, use \code{..1}, \code{..2}, \code{..3} etc } -This syntax allows you to create very compact anonymous functions. +This syntax allows you to create very compact anonymous +functions. Note that formula functions conceptually take dots +(that's why you can use \code{..1} etc). They silently ignore +additional arguments that are not used in the formula expression. If \strong{character vector}, \strong{numeric vector}, or \strong{list}, it is converted to an extractor function. Character vectors index by diff --git a/man/timetk.Rd b/man/timetk.Rd index 67a322f5..8510c324 100644 --- a/man/timetk.Rd +++ b/man/timetk.Rd @@ -3,6 +3,7 @@ \docType{package} \name{timetk} \alias{timetk} +\alias{timetk-package} \title{timetk: Time Series Analysis in the Tidyverse} \description{ The \code{timetk} package combines a collection of coercion tools for