Running 'testthat.R' [215s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > library(xgboost)
  > library(randomForest)
  randomForest 4.7-1.1
  Type rfNews() to see new features/changes/bug fixes.
  > library(kernlab)
  > library(earth)
  Loading required package: Formula
  Loading required package: plotmo
  Loading required package: plotrix
  Loading required package: TeachingDemos
  > library(thief)
  Loading required package: forecast
  > library(smooth)
  Loading required package: greybox
  Package "greybox", v1.0.7 loaded.
  
  This is package "smooth", v3.2.0
  
  > library(greybox)
  > 
  > library(stats)
  > 
  > library(tidymodels)
  -- Attaching packages -------------------------------------- tidymodels 1.0.0 --
  v broom        1.0.3      v recipes      1.0.4 
  v dials        1.1.0      v rsample      1.1.1 
  v dplyr        1.0.10     v tibble       3.1.8 
  v ggplot2      3.4.0      v tidyr        1.3.0 
  v infer        1.0.4      v tune         1.0.1 
  v modeldata    1.1.0      v workflows    1.1.2 
  v parsnip      1.0.3      v workflowsets 1.0.0 
  v purrr        1.0.1      v yardstick    1.1.0 
  -- Conflicts ----------------------------------------- tidymodels_conflicts() --
  x yardstick::accuracy() masks forecast::accuracy()
  x ggplot2::alpha()      masks scales::alpha(), kernlab::alpha()
  x dplyr::combine()      masks randomForest::combine()
  x purrr::cross()        masks kernlab::cross()
  x purrr::discard()      masks scales::discard()
  x dplyr::filter()       masks stats::filter()
  x purrr::is_null()      masks testthat::is_null()
  x dplyr::lag()          masks stats::lag()
  x ggplot2::margin()     masks randomForest::margin()
  x tidyr::matches()      masks rsample::matches(), dplyr::matches(), testthat::matches()
  x parsnip::pls()        masks smooth::pls()
  x dplyr::slice()        masks xgboost::slice()
  x tidyr::spread()       masks greybox::spread()
  x recipes::step()       masks stats::step()
  * Use tidymodels_prefer() to resolve common conflicts.
  > library(parsnip)
  > library(workflows)
  > library(rsample)
  > library(recipes)
  > library(tune)
  > library(dials)
  > library(TSrepr)
  
  Attaching package: 'TSrepr'
  
  The following objects are masked from 'package:yardstick':
  
      mae, mape, mase, rmse, smape
  
  > library(yardstick)
  > library(slider)
  > 
  > library(timetk)
  > library(modeltime)
  
  Attaching package: 'modeltime'
  
  The following object is masked from 'package:TSrepr':
  
      maape
  
  The following object is masked from 'package:kernlab':
  
      error
  
  > 
  > library(tidyverse)
  -- Attaching packages --------------------------------------- tidyverse 1.3.2 --
  v readr   2.1.3     v forcats 0.5.2
  v stringr 1.5.0     
  -- Conflicts ------------------------------------------ tidyverse_conflicts() --
  x ggplot2::alpha()       masks scales::alpha(), kernlab::alpha()
  x readr::col_factor()    masks scales::col_factor()
  x dplyr::combine()       masks randomForest::combine()
  x purrr::cross()         masks kernlab::cross()
  x purrr::discard()       masks scales::discard()
  x readr::edition_get()   masks testthat::edition_get()
  x dplyr::filter()        masks stats::filter()
  x stringr::fixed()       masks recipes::fixed()
  x purrr::is_null()       masks testthat::is_null()
  x dplyr::lag()           masks stats::lag()
  x readr::local_edition() masks testthat::local_edition()
  x ggplot2::margin()      masks randomForest::margin()
  x tidyr::matches()       masks rsample::matches(), dplyr::matches(), testthat::matches()
  x dplyr::slice()         masks xgboost::slice()
  x readr::spec()          masks yardstick::spec()
  x tidyr::spread()        masks greybox::spread()
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:greybox':
  
      hm
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > 
  > test_check("modeltime")
  
  
  
  
  
  
  
  
  
  
  
  
  [ FAIL 1 | WARN 3 | SKIP 25 | PASS 502 ]
  
  == Skipped tests ===============================================================
  * On CRAN (25)
  
  == Failed tests ================================================================
  -- Error ('test-algo-exp_smoothing-ets.R:290'): (code run outside of `test_that()`) --
  <tibble_error_incompatible_size/tibble_error/rlang_error/error/condition>
  Error: Tibble columns must have compatible sizes.
  * Size 275: Existing data.
  * Size 0: Column `.actual`.
  i Only values of size one are recycled.
  Backtrace:
       x
    1. +-model_spec %>% ... at test-algo-exp_smoothing-ets.R:290:0
    2. +-generics::fit(., log(value) ~ date, data = training(splits))
    3. +-parsnip::fit.model_spec(., log(value) ~ date, data = training(splits))
    4. | \-parsnip:::form_xy(...)
    5. |   \-parsnip:::xy_xy(...)
    6. |     \-parsnip:::eval_mod(...)
    7. |       \-rlang::eval_tidy(e, env = envir, ...)
    8. \-modeltime::smooth_fit_impl(x = maybe_data_frame(x), y = y)
    9.   +-modeltime::new_modeltime_bridge(...)
   10.   | \-base::is.data.frame(data)
   11.   \-tibble::tibble(...)
   12.     \-tibble:::tibble_quos(xs, .rows, .name_repair)
   13.       \-tibble:::vectbl_recycle_rows(res, first_size, j, given_col_names[[j]])
   14.         \-rlang::cnd_signal(error_incompatible_size(n, name, size, "Existing data"))
  
  [ FAIL 1 | WARN 3 | SKIP 25 | PASS 502 ]
  Error: Test failures
  Execution halted