Running examples in 'tseries-Ex.R' failed
The error most likely occurred in:

> ### Name: get.hist.quote
> ### Title: Download Historical Finance Data
> ### Aliases: get.hist.quote
> ### Keywords: ts
> 
> ### ** Examples
> 
> con <- url("http://quote.yahoo.com")
> if(!inherits(try(open(con), silent = TRUE), "try-error")) {
+   close(con)
+   x <- get.hist.quote(instrument = "^gspc", start = "1998-01-01",
+                       quote = "Close")
+   plot(x)
+ 
+   x <- get.hist.quote(instrument = "ibm", quote = c("Cl", "Vol"))
+   plot(x, main = "International Business Machines Corp")
+ 
+   spc <- get.hist.quote(instrument = "^gspc", start = "1998-01-01",
+          quote = "Close")
+   ibm <- get.hist.quote(instrument = "ibm",  start = "1998-01-01",
+          quote = "AdjClose")
+   require("zoo")		# For merge() method.
+   x <- merge(spc, ibm)
+   plot(x, main = "IBM vs S&P 500")
+ }
trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=18&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
Warning in download.file(url, destfile, method = method, quiet = quiet) :
  InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine nicht sichere in eine sichere Verbindung.'
download error, retrying ...
trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=18&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
Warning in download.file(url, destfile, method = method, quiet = quiet) :
  InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine nicht sichere in eine sichere Verbindung.'
download error, retrying ...
trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=18&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
Warning in download.file(url, destfile, method = method, quiet = quiet) :
  InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine nicht sichere in eine sichere Verbindung.'
download error, retrying ...
trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=18&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
Warning in download.file(url, destfile, method = method, quiet = quiet) :
  InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine nicht sichere in eine sichere Verbindung.'
download error, retrying ...
trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=18&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
Warning in download.file(url, destfile, method = method, quiet = quiet) :
  InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine nicht sichere in eine sichere Verbindung.'
Error in get.hist.quote(instrument = "^gspc", start = "1998-01-01", quote = "Close") : 
  cannot open URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=18&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
Execution halted