Running ‘testthat.R’ [29s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > # Machine Learning
  > library(tidymodels)
  ── Attaching packages ────────────────────────────────────── tidymodels 0.2.0 ──
  ✔ broom        0.8.0     ✔ recipes      0.2.0
  ✔ dials        0.1.1     ✔ rsample      0.1.1
  ✔ dplyr        1.0.9     ✔ tibble       3.1.7
  ✔ ggplot2      3.3.6     ✔ tidyr        1.2.0
  ✔ infer        1.0.0     ✔ tune         0.2.0
  ✔ modeldata    0.1.1     ✔ workflows    0.2.6
  ✔ parsnip      0.2.1     ✔ workflowsets 0.2.1
  ✔ purrr        0.3.4     ✔ yardstick    0.0.9
  ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
  ✖ purrr::discard() masks scales::discard()
  ✖ dplyr::filter()  masks stats::filter()
  ✖ purrr::is_null() masks testthat::is_null()
  ✖ dplyr::lag()     masks stats::lag()
  ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
  ✖ recipes::step()  masks stats::step()
  • Use tidymodels_prefer() to resolve common conflicts.
  > library(modeltime)
  > library(modeltime.resample)
  > 
  > library(glmnet)
  Loading required package: Matrix
  
  Attaching package: 'Matrix'
  
  The following objects are masked from 'package:tidyr':
  
      expand, pack, unpack
  
  Loaded glmnet 4.1-4
  > 
  > # Core Packages
  > library(tidyverse)
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
  ✔ readr   2.1.2     ✔ forcats 0.5.1
  ✔ stringr 1.4.0     
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ readr::col_factor()    masks scales::col_factor()
  ✖ purrr::discard()       masks scales::discard()
  ✖ readr::edition_get()   masks testthat::edition_get()
  ✖ Matrix::expand()       masks tidyr::expand()
  ✖ dplyr::filter()        masks stats::filter()
  ✖ stringr::fixed()       masks recipes::fixed()
  ✖ purrr::is_null()       masks testthat::is_null()
  ✖ dplyr::lag()           masks stats::lag()
  ✖ readr::local_edition() masks testthat::local_edition()
  ✖ tidyr::matches()       masks rsample::matches(), dplyr::matches(), testthat::matches()
  ✖ Matrix::pack()         masks tidyr::pack()
  ✖ readr::spec()          masks yardstick::spec()
  ✖ Matrix::unpack()       masks tidyr::unpack()
  > library(timetk)
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > test_check("modeltime.resample")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-modeltime_fit_resamples.R:43:5): Structure: modeltime_fit_resamples() ──
  all(c(".model_id", ".model_desc", ".pred") %in% names(resamples_unnested)) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error (test-modeltime_fit_resamples.R:76:5): Structure:: modeltime_resample_accuracy() ──
  Error in `rlang::sym(target_text)`: Can't convert an empty character vector to a symbol.
  Backtrace:
      ▆
   1. ├─m750_models_resample %>% modeltime_resample_accuracy() at test-modeltime_fit_resamples.R:76:4
   2. └─modeltime.resample::modeltime_resample_accuracy(.)
   3.   └─rlang::sym(target_text)
   4.     └─rlang:::abort_coercion(x, "a symbol")
   5.       └─rlang::abort(msg, call = call)
  ── Error (test-modeltime_fit_resamples.R:116:5): plot_modeltime_resamples() works ──
  Error in `rlang::sym(target_text)`: Can't convert an empty character vector to a symbol.
  Backtrace:
      ▆
   1. ├─m750_models_resample %>% ... at test-modeltime_fit_resamples.R:116:4
   2. └─modeltime.resample::plot_modeltime_resamples(., .interactive = TRUE)
   3.   └─rlang::sym(target_text)
   4.     └─rlang:::abort_coercion(x, "a symbol")
   5.       └─rlang::abort(msg, call = call)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted