diff --git a/R/arima.R b/R/arima.R index 5c368775..72bba0cb 100644 --- a/R/arima.R +++ b/R/arima.R @@ -463,14 +463,12 @@ specials_arima <- new_specials( #' as_tsibble %>% #' model(arima = ARIMA(log(value) ~ pdq(0,1,1) + PDQ(0,1,1))) #' -#' if (requireNamespace("feasts", quietly = TRUE)) { #' # Automatic ARIMA specification #' library(tsibble) #' library(dplyr) #' tsibbledata::global_economy %>% #' filter(Country == "Australia") %>% #' model(ARIMA(log(GDP) ~ Population)) -#' } #' #' @importFrom stats model.matrix #' @export @@ -703,13 +701,11 @@ refit.ARIMA <- function(object, new_data, specials = NULL, reestimate = FALSE, . #' @return A tibble of the same dimension of `new_data` with missing values interpolated. #' #' @examples -#' if (requireNamespace("feasts", quietly = TRUE)) { #' library(tsibbledata) #' #' olympic_running %>% #' model(arima = ARIMA(Time ~ trend())) %>% #' interpolate(olympic_running) -#' } #' #' @importFrom stats formula residuals #' @export diff --git a/cran-comments.md b/cran-comments.md index d40867a4..5e765acb 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -14,7 +14,7 @@ ## Re-submission * Fixed URL in vignette. -* Updated tests and examples to conditionally depend on feasts. +* The 'feasts' package is now available on CRAN. * Updated description to use '' for package names. * Improved detail in package description to provide examples of included models. * Removed author field from docs. diff --git a/man/ARIMA.Rd b/man/ARIMA.Rd index a8f649ee..aeb05532 100644 --- a/man/ARIMA.Rd +++ b/man/ARIMA.Rd @@ -94,14 +94,12 @@ USAccDeaths \%>\% as_tsibble \%>\% model(arima = ARIMA(log(value) ~ pdq(0,1,1) + PDQ(0,1,1))) -if (requireNamespace("feasts", quietly = TRUE)) { # Automatic ARIMA specification library(tsibble) library(dplyr) tsibbledata::global_economy \%>\% filter(Country == "Australia") \%>\% model(ARIMA(log(GDP) ~ Population)) -} } \seealso{ diff --git a/man/interpolate.ARIMA.Rd b/man/interpolate.ARIMA.Rd index 1de3c760..98be202e 100644 --- a/man/interpolate.ARIMA.Rd +++ b/man/interpolate.ARIMA.Rd @@ -22,12 +22,10 @@ A tibble of the same dimension of \code{new_data} with missing values interpolat Applies a model specific estimation technique to predict the values of missing values in a \code{tsibble}, and replace them. } \examples{ -if (requireNamespace("feasts", quietly = TRUE)) { library(tsibbledata) olympic_running \%>\% model(arima = ARIMA(Time ~ trend())) \%>\% interpolate(olympic_running) -} }