Running ‘testthat.R’ [145s/226s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > library(xgboost)
  > library(randomForest)
  randomForest 4.6-14
  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(stats)
  > 
  > library(tidymodels)
  ── Attaching packages ────────────────────────────────────── tidymodels 0.1.3 ──
  ✔ broom        0.7.6      ✔ recipes      0.1.16
  ✔ dials        0.0.9      ✔ rsample      0.1.0 
  ✔ dplyr        1.0.6      ✔ tibble       3.1.2 
  ✔ ggplot2      3.3.3      ✔ tidyr        1.1.3 
  ✔ infer        0.5.4      ✔ tune         0.1.5 
  ✔ modeldata    0.1.0      ✔ workflows    0.2.2 
  ✔ parsnip      0.1.5      ✔ workflowsets 0.0.2 
  ✔ purrr        0.3.4      ✔ yardstick    0.0.8 
  ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
  ✖ ggplot2::alpha()  masks scales::alpha(), kernlab::alpha()
  ✖ dplyr::combine()  masks randomForest::combine()
  ✖ purrr::cross()    masks kernlab::cross()
  ✖ purrr::discard()  masks scales::discard()
  ✖ dplyr::filter()   masks stats::filter()
  ✖ purrr::is_null()  masks testthat::is_null()
  ✖ dplyr::lag()      masks stats::lag()
  ✖ ggplot2::margin() masks randomForest::margin()
  ✖ tidyr::matches()  masks rsample::matches(), dplyr::matches(), testthat::matches()
  ✖ dplyr::slice()    masks xgboost::slice()
  ✖ 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(yardstick)
  > library(slider)
  > 
  > library(timetk)
  > # library(modeltime)
  > 
  > library(progressr)
  > 
  > library(tidyverse)
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
  ✔ readr   1.4.0     ✔ forcats 0.5.1
  ✔ stringr 1.4.0     
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ ggplot2::alpha()    masks scales::alpha(), kernlab::alpha()
  ✖ readr::col_factor() masks scales::col_factor()
  ✖ dplyr::combine()    masks randomForest::combine()
  ✖ purrr::cross()      masks kernlab::cross()
  ✖ purrr::discard()    masks scales::discard()
  ✖ dplyr::filter()     masks stats::filter()
  ✖ stringr::fixed()    masks recipes::fixed()
  ✖ purrr::is_null()    masks testthat::is_null()
  ✖ dplyr::lag()        masks stats::lag()
  ✖ ggplot2::margin()   masks randomForest::margin()
  ✖ tidyr::matches()    masks rsample::matches(), dplyr::matches(), testthat::matches()
  ✖ dplyr::slice()      masks xgboost::slice()
  ✖ readr::spec()       masks yardstick::spec()
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > 
  > test_check("modeltime")
  Loading required package: modeltime
  
  Attaching package: 'modeltime'
  
  The following object is masked from 'package:kernlab':
  
      error
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-tune_workflows.R:69:5): Tuning, arima_boost ───────────────────
  nrow(tune_results_boosted_metrics) not equal to 36.
  1/1 mismatches
  [1] 0 - 36 == -36
  
  [ FAIL 1 | WARN 1 | SKIP 8 | PASS 536 ]
  Error: Test failures
  Execution halted