Running ‘testthat.R’ [4s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidyquant)
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:base':
  
      date
  
  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: '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.
  Loading required package: tidyverse
  Loading tidyverse: ggplot2
  Loading tidyverse: tibble
  Loading tidyverse: tidyr
  Loading tidyverse: readr
  Loading tidyverse: purrr
  Loading tidyverse: dplyr
  Conflicts with tidy packages ---------------------------------------------------
  as.difftime(): lubridate, base
  date():        lubridate, base
  filter():      dplyr, stats
  first():       dplyr, xts
  intersect():   lubridate, base
  is_null():     purrr, testthat
  lag():         dplyr, stats
  last():        dplyr, xts
  matches():     dplyr, testthat
  setdiff():     lubridate, base
  union():       lubridate, base
  
  Attaching package: 'tidyquant'
  
  The following object is masked from 'package:tibble':
  
      as_tibble
  
  > 
  > test_check("tidyquant")
      As of 0.4-0, 'getSymbols' uses env=parent.frame() and
   auto.assign=TRUE by default.
  
   This  behavior  will be  phased out in 0.5-0  when the call  will
   default to use auto.assign=FALSE. getOption("getSymbols.env") and 
   getOptions("getSymbols.auto.assign") are now checked for alternate defaults
  
   This message is shown once per session and may be disabled by setting 
   options("getSymbols.warning4.0"=FALSE). See ?getSymbols for more details.
  Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  : 
    cannot open URL 'https://ichart.finance.yahoo.com/table.csv?s=AAPL&a=0&b=01&c=2007&d=4&e=18&f=2017&g=d&q=q&y=0&z=AAPL&x=.csv'
  Calls: test_check ... with_reporter -> force -> source_file -> eval -> eval
  testthat results ================================================================
  OK: 0 SKIPPED: 0 FAILED: 0
  Execution halted