Skip to content

Commit

Permalink
donttest fixes: long running examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdancho84 committed Oct 22, 2024
1 parent 607c572 commit b142829
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions R/parsnip-arima_boost.R
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,13 @@
#' @seealso `fit.model_spec()`, `set_engine()`
#'
#' @examples
#' \donttest{
#' library(dplyr)
#' library(lubridate)
#' library(parsnip)
#' library(rsample)
#' library(timetk)
#'
#'
#' # Data
#' m750 <- m4_monthly %>% filter(id == "M750")
#'
Expand Down Expand Up @@ -231,7 +231,6 @@
#'
#' # FIT ----
#'
#' \donttest{
#' # Boosting - Happens by adding numeric date and month features
#' model_fit_boosted <- model_spec %>%
#' fit(value ~ date + as.numeric(date) + month(date, label = TRUE),
Expand Down
3 changes: 2 additions & 1 deletion R/parsnip-prophet_boost.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
#' @seealso `fit.model_spec()`, `set_engine()`
#'
#' @examples
#' \donttest{
#' library(dplyr)
#' library(lubridate)
#' library(parsnip)
Expand All @@ -216,7 +217,7 @@
#' set_engine("prophet_xgboost")
#'
#' # Fit Spec
#' \donttest{
#'
#' model_fit <- model_spec %>%
#' fit(log(value) ~ date + as.numeric(date) + month(date, label = TRUE),
#' data = training(splits))
Expand Down
3 changes: 1 addition & 2 deletions man/arima_boost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/prophet_boost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b142829

Please sign in to comment.