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("https://finance.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 = "Adj")
+   require("zoo")		# For merge() method.
+   x <- merge(spc, ibm)
+   plot(x, main = "IBM vs S&P 500")
+ }
‘getSymbols’ currently uses auto.assign=TRUE by default, but will
use auto.assign=FALSE in 0.5-0. You will still be able to use
‘loadSymbols’ to automatically load data. getOption("getSymbols.env")
and getOption("getSymbols.auto.assign") will still be 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 details.

Warning in zoo(y, order.by = index(x), ...) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
time series starts 1998-01-02
time series ends   2022-03-18
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(y, order.by = index(x), ...) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
time series ends   2022-03-18
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(y, order.by = index(x), ...) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
time series starts 1998-01-02
time series ends   2022-03-18
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Warning in zoo(y, order.by = index(x), ...) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
time series starts 1998-01-02
time series ends   2022-03-18
Warning in zoo(rval, index(x)[i]) :
  some methods for “zoo” objects do not work if the index entries in ‘order.by’ are not unique
Loading required package: zoo

Attaching package: ‘zoo’

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

    as.Date, as.Date.numeric

Error in merge.zoo(spc, ibm) : 
  series cannot be merged with non-unique index entries in a series
Calls: merge -> merge.zoo
Execution halted