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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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=14&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
downloaded 377 KB

time series starts 1998-01-02
time series ends   2017-04-13
trying URL 'http://chart.yahoo.com/table.csv?s=ibm&a=0&b=02&c=1991&d=3&e=14&f=2017&g=d&q=q&y=0&z=ibm&x=.csv'
downloaded 421 KB

time series ends   2017-04-13
trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=3&e=14&f=2017&g=d&q=q&y=0&z=^gspc&x=.csv'
downloaded 377 KB

time series starts 1998-01-02
time series ends   2017-04-13
trying URL 'http://chart.yahoo.com/table.csv?s=ibm&a=0&b=01&c=1998&d=3&e=14&f=2017&g=d&q=q&y=0&z=ibm&x=.csv'
downloaded 323 KB

time series starts 1998-01-02
time series ends   2017-04-13
Loading required package: zoo

Attaching package: ‘zoo’

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

    as.Date, as.Date.numeric

> 
> con <- url("https://www.oanda.com")
> if(!inherits(try(open(con), silent = TRUE), "try-error")) {
+   close(con)
+   x <- get.hist.quote(instrument = "EUR/USD", provider = "oanda",
+                       start = Sys.Date() - 500)
+   plot(x, main = "EUR/USD")
+ }
trying URL 'https://www.oanda.com/currency/historical-rates/download?quote_currency=EUR&end_date=2017-04-14&start_date=2015-12-02&period=daily&display=absolute&rate=0&data_range=y2&price=mid&view=table&base_currency_0=USD&base_currency_1=&base_currency_2=&base_currency_3=&base_currency_4=&download=csv'
downloaded 15 KB

Error in charToDate(x) : 
  character string is not in a standard unambiguous format
Calls: get.hist.quote -> rev -> as.Date -> as.Date.character -> charToDate
Execution halted