Running 'testthat.R' [82s/100s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(highfrequency)
  > 
  > test_check("highfrequency")
  [ FAIL 5 | WARN 0 | SKIP 2 | PASS 265 ]
  
  == Skipped tests ===============================================================
  * On CRAN (2)
  
  == Failed tests ================================================================
  -- Error (tests_data_handling.R:53:3): selectExchange and data cleaning functions --
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
       x
    1. +-testthat::expect_equal(...) at tests_data_handling.R:53:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-highfrequency::rmTradeOutliersUsingQuotes(...)
    5.   \-highfrequency::matchTradesQuotes(...)
    6.     +-tqData[, `:=`(DT, as.POSIXct(DT, tz = tz, origin = "1970-01-01"))]
    7.     \-data.table:::`[.data.table`(...)
    8.       \-base::eval(jsub, SDenv, parent.frame())
    9.         \-base::eval(jsub, SDenv, parent.frame())
   10.           +-base::as.POSIXct(DT, tz = tz, origin = "1970-01-01")
   11.           \-base::as.POSIXct.default(DT, tz = tz, origin = "1970-01-01")
  -- Error (tests_data_handling.R:94:3): tradesCleanup gives same data as the shipped data --
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      x
   1. \-highfrequency::tradesCleanupUsingQuotes(...) at tests_data_handling.R:94:2
   2.   \-highfrequency::rmTradeOutliersUsingQuotes(...)
   3.     \-highfrequency::matchTradesQuotes(...)
   4.       +-tqData[, `:=`(DT, as.POSIXct(DT, tz = tz, origin = "1970-01-01"))]
   5.       \-data.table:::`[.data.table`(...)
   6.         \-base::eval(jsub, SDenv, parent.frame())
   7.           \-base::eval(jsub, SDenv, parent.frame())
   8.             +-base::as.POSIXct(DT, tz = tz, origin = "1970-01-01")
   9.             \-base::as.POSIXct.default(DT, tz = tz, origin = "1970-01-01")
  -- Error (tests_driftBursts.R:25:3): DBH sim test ------------------------------
  Error in `.POSIXct(unclass(x) * 86400, tz = tz, ...)`: unused argument (format = "%Y-%m-%d")
  Backtrace:
      x
   1. \-highfrequency::driftBursts(...) at tests_driftBursts.R:25:2
   2.   +-base::as.POSIXct(...)
   3.   \-base::as.POSIXct.Date(...)
  -- Error (tests_liquidity_measures.R:8:3): matchTradesQuotes & getTradeDirection quotes --
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      x
   1. \-highfrequency::matchTradesQuotes(sampleTData, sampleQData, lagQuotes = 2) at tests_liquidity_measures.R:8:2
   2.   +-tqData[, `:=`(DT, as.POSIXct(DT, tz = tz, origin = "1970-01-01"))]
   3.   \-data.table:::`[.data.table`(...)
   4.     \-base::eval(jsub, SDenv, parent.frame())
   5.       \-base::eval(jsub, SDenv, parent.frame())
   6.         +-base::as.POSIXct(DT, tz = tz, origin = "1970-01-01")
   7.         \-base::as.POSIXct.default(DT, tz = tz, origin = "1970-01-01")
  -- Error (tests_liquidity_measures.R:20:3): testing getLiquidityMeasures -------
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      x
   1. \-highfrequency::tradesCleanupUsingQuotes(...) at tests_liquidity_measures.R:20:2
   2.   \-highfrequency::rmTradeOutliersUsingQuotes(...)
   3.     \-highfrequency::matchTradesQuotes(...)
   4.       +-tqData[, `:=`(DT, as.POSIXct(DT, tz = tz, origin = "1970-01-01"))]
   5.       \-data.table:::`[.data.table`(...)
   6.         \-base::eval(jsub, SDenv, parent.frame())
   7.           \-base::eval(jsub, SDenv, parent.frame())
   8.             +-base::as.POSIXct(DT, tz = tz, origin = "1970-01-01")
   9.             \-base::as.POSIXct.default(DT, tz = tz, origin = "1970-01-01")
  
  [ FAIL 5 | WARN 0 | SKIP 2 | PASS 265 ]
  Error: Test failures
  Execution halted