Running ‘testthat.R’ [70s/84s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sweep)
  > library(timetk)
  > library(forecast)
  > library(tidyverse)
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
  ✔ ggplot2 3.3.2     ✔ purrr   0.3.4
  ✔ tibble  3.0.2     ✔ dplyr   1.0.0
  ✔ tidyr   1.1.0     ✔ stringr 1.4.0
  ✔ readr   1.3.1     ✔ forcats 0.5.0
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ dplyr::filter()  masks stats::filter()
  ✖ purrr::is_null() masks testthat::is_null()
  ✖ dplyr::lag()     masks stats::lag()
  ✖ dplyr::matches() masks tidyr::matches(), testthat::matches()
  > library(robets)
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > library(tidyquant)
  Loading required package: PerformanceAnalytics
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  
  Attaching package: 'xts'
  
  The following objects are masked from 'package:dplyr':
  
      first, last
  
  
  Attaching package: 'PerformanceAnalytics'
  
  The following object is masked from 'package:graphics':
  
      legend
  
  Loading required package: quantmod
  Loading required package: TTR
  Version 0.4-0 included new data defaults. See ?getSymbols.
  ══ Need to Learn tidyquant? ════════════════════════════════════════════════════
  Business Science offers a 1-hour course - Learning Lab #9: Performance Analysis & Portfolio Optimization with tidyquant!
  </> Learn more at: https://university.business-science.io/p/learning-labs-pro </>
  > library(fracdiff)
  > 
  > test_check("sweep")
  ── 1. Failure: sw_*.default test returns tibble with correct rows and columns. (
  ncol(test) not equal to 11.
  1/1 mismatches
  [1] 12 - 11 == 1
  
  ── 2. Failure: sw_*.default test returns tibble with correct rows and columns. (
  ncol(test) not equal to 9.
  1/1 mismatches
  [1] 8 - 9 == -1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 201 | SKIPPED: 0 | WARNINGS: 7 | FAILED: 2 ]
  1. Failure: sw_*.default test returns tibble with correct rows and columns. (@test_tidiers_lm.R#22) 
  2. Failure: sw_*.default test returns tibble with correct rows and columns. (@test_tidiers_lm.R#32) 
  
  Error: testthat unit tests failed
  Execution halted