Running ‘tinytest.R’ [12s/17s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > # run package unit tests
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +     suppressPackageStartupMessages(library("xts"))
  +     use_color <- as.logical(Sys.getenv("_PKG_TINYTEST_COLOR_", FALSE))
  +     verbosity <- as.integer(Sys.getenv("_PKG_TINYTEST_VERBOSE_", 1))
  +     cat("tinytest colored output:", use_color,
  +         "\ntinytest verbosity:", verbosity, "\n")
  +     tinytest::test_package("xts", color = use_color, verbose = verbosity)
  + }
  tinytest colored output: FALSE 
  tinytest verbosity: 1 
  
  test-Ops.R.................... 1716 tests OK  2.1s
  
  test-align.time.R.............    9 tests OK  17ms
  
  test-all.equal.R..............    1 tests OK  6ms
  
  test-binsearch.R..............   32 tests OK  19ms
  
  test-coredata.R...............    9 tests OK  36ms
  
  test-data.frame.R.............   15 tests OK  0.1s
  
  test-diff.R...................   11 tests OK  28ms
  
  test-dimnames.R...............    5 tests OK  6ms
  
  test-endpoints.R..............   75 tests OK  11.5s
  
  test-first-last.R.............  180 tests OK  0.2s
  
  test-index.R..................   10 tests OK  10ms
  
  test-irts.R...................    4 tests OK  0.1s
  
  test-isordered.R..............  152 tests OK  71ms
  
  test-lag.R....................    8 tests OK  68ms
  
  test-matrix.R.................   11 tests OK  57ms
  
  test-merge.R..................   58 tests OK  87ms
  
  test-na.fill.R................    2 tests OK  33ms
  
  test-na.locf.R................   60 tests OK  0.3s
  
  test-na.omit.R................    8 tests OK  43ms
  
  test-parseISO8601.R...........   16 tests OK  29ms
  
  test-period.apply.R...........   18 tests OK  0.2s
  
  test-periodicity.R............ 1043 tests OK  0.8s
  
  test-plot.R...................    6 tests OK  0.2s
  
  test-print.R..................   11 tests OK  73ms
  
  test-reclass.R................    9 tests OK  27ms
  
  test-rollapply.R..............    2 tests OK  41ms
  
  test-split.R..................    9 tests OK  58ms
  Error in if (secBegin <= secEnd) { : 
    missing value where TRUE/FALSE needed
  Calls: <Anonymous> ... .POSIXct -> .index -> [ -> [.xts -> .subsetTimeOfDay
  In addition: Warning messages:
  1: In structure(1:5, .Dim = c(5L, 1L), index = structure(c(1, 2, 3,  :
    Replacing special names '.Dim' is deprecated; use 'dim' instead.
  2: In structure(1:5, .Dim = c(5L, 1L), index = structure(c(1L, 2L,  :
    Replacing special names '.Dim' is deprecated; use 'dim' instead.
  3: In structure(rep(0, length(tick.opts)), .Names = tick.opts) :
    Replacing special names '.Names' is deprecated; use 'names' instead.
  4: In structure(rep(0, length(tick.opts)), .Names = tick.opts) :
    Replacing special names '.Names' is deprecated; use 'names' instead.
  5: In structure(rep(0, length(tick.opts)), .Names = tick.opts) :
    Replacing special names '.Names' is deprecated; use 'names' instead.
  6: In structure(rep(0, length(tick.opts)), .Names = tick.opts) :
    Replacing special names '.Names' is deprecated; use 'names' instead.
  Execution halted