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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: TTR
> ### Title: Functions to create Technical Trading Rules (TTR)
> ### Aliases: TTR TTR-package
> ### Keywords: package
> 
> ### ** Examples
> 
> 
> data(ttrc)
> 
> # Bollinger Bands
> bbands <- BBands( ttrc[,c("High","Low","Close")] )
> 
> # Directional Movement Index
> adx <- ADX(ttrc[,c("High","Low","Close")])
> 
> # Moving Averages
> ema <- EMA(ttrc[,"Close"], n=20)
> sma <- SMA(ttrc[,"Close"], n=20)
> 
> # MACD
> macd <- MACD( ttrc[,"Close"] )
> 
> # RSI
> rsi <- RSI(ttrc[,"Close"])
> 
> # Stochastics
> stochOsc <- stoch(ttrc[,c("High","Low","Close")])
> 
> ### Note: you must have a working internet connection
> ### for the examples below to work!
> 
> # Fetch U.S. symbols from the internet
> nyseSymbols <- stockSymbols("NYSE")
Fetching NYSE symbols...
> 
> # Fetch Yahoo! Finance data from the internet
> ge <- getYahooData("GE", 19990404, 20050607, adjust = FALSE)
Warning: TTR::getYahooData is deprecated and will be removed in a future release.
Please use quantmod::getSymbols instead.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
Error in curl::curl_download(url, destfile = tmp, quiet = quiet, handle = handle$ch) : 
  Timeout was reached: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
Calls: getYahooData -> <Anonymous>
Execution halted