Running ‘testthat.R’ [6s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(timetk)
  > library(tidyverse)
  ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
  ✔ dplyr     1.1.0     ✔ readr     2.1.4
  ✔ forcats   1.0.0     ✔ stringr   1.5.0
  ✔ ggplot2   3.4.1     ✔ tibble    3.2.0
  ✔ lubridate 1.9.2     ✔ tidyr     1.3.0
  ✔ purrr     1.0.1     
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ readr::edition_get()   masks testthat::edition_get()
  ✖ dplyr::filter()        masks stats::filter()
  ✖ purrr::is_null()       masks testthat::is_null()
  ✖ dplyr::lag()           masks stats::lag()
  ✖ readr::local_edition() masks testthat::local_edition()
  ✖ dplyr::matches()       masks tidyr::matches(), testthat::matches()
  ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
  > 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
  
  
  ################################### WARNING ###################################
  # We noticed you have dplyr installed. The dplyr lag() function breaks how    #
  # base R's lag() function is supposed to work, which breaks lag(my_xts).      #
  #                                                                             #
  # Calls to lag(my_xts) that you enter or source() into this session won't     #
  # work correctly.                                                             #
  #                                                                             #
  # All package code is unaffected because it is protected by the R namespace   #
  # mechanism.                                                                  #
  #                                                                             #
  # Set `options(xts.warn_dplyr_breaks_lag = FALSE)` to suppress this warning.  #
  #                                                                             #
  # You can use stats::lag() to make sure you're not using dplyr::lag(), or you #
  # can add conflictRules('dplyr', exclude = 'lag') to your .Rprofile to stop   #
  # dplyr from breaking base R's lag() function.                                #
  ################################### WARNING ###################################
  
  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
  > 
  > # Forecast objects
  > library(forecast)
  > library(robets)
  Error in library(robets) : there is no package called 'robets'
  Execution halted