Running examples in ‘qrmtools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_data
> ### Title: Tools for Getting and Working with Data
> ### Aliases: get_data
> ### Keywords: manip
> 
> ### ** Examples
> 
> ## Get stock and volatility data (for all available trading days)
> dat <- get_data(c("^GSPC", "^VIX")) # note: this needs a working internet connection
Getting ^GSPC 
    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.
Warning in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
  cannot open URL 'https://ichart.finance.yahoo.com/table.csv?s=^GSPC&a=0&b=01&c=1900&d=4&e=18&f=2017&g=d&q=q&y=0&z=^GSPC&x=.csv': HTTP status was '504 Gateway Timeout'
Warning in get_data(x[j], from = from, to = to, src = src, FUN = FUN, verbose = verbose,  :
  Error when fetching ^GSPC: cannot open URL 'https://ichart.finance.yahoo.com/table.csv?s=^GSPC&a=0&b=01&c=1900&d=4&e=18&f=2017&g=d&q=q&y=0&z=^GSPC&x=.csv' (will use NA instead)
Getting ^VIX 
Warning in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
  cannot open URL 'https://ichart.finance.yahoo.com/table.csv?s=^VIX&a=0&b=01&c=1900&d=4&e=18&f=2017&g=d&q=q&y=0&z=^VIX&x=.csv': HTTP status was '504 Gateway Timeout'
Warning in get_data(x[j], from = from, to = to, src = src, FUN = FUN, verbose = verbose,  :
  Error when fetching ^VIX: cannot open URL 'https://ichart.finance.yahoo.com/table.csv?s=^VIX&a=0&b=01&c=1900&d=4&e=18&f=2017&g=d&q=q&y=0&z=^VIX&x=.csv' (will use NA instead)
> ## Plot them (Alternative: plot.xts() from xtsExtra)
> library(zoo)

Attaching package: ‘zoo’

The following objects are masked from ‘package:base’:

    as.Date, as.Date.numeric

> plot.zoo(dat, screens = 1, main = "", xlab = "Trading day", ylab = "Value")
Error in FUN(X[[i]], ...) : 
  only defined on a data frame with all numeric variables
Calls: plot.zoo -> Summary.data.frame -> lapply -> FUN
Execution halted