Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("eventstudies")
  Loading required package: eventstudies
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: xts
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_functionality_inference.R:76:3): functionality for inference functions ──
  `x` not equal to `expected`.
  2/9 mismatches (average diff: 0.0115)
  [2] -0.00482 - -0.0153 == 0.0105
  [3] -0.02845 - -0.0409 == 0.0124
  Backtrace:
      █
   1. └─eventstudies:::testing.inference(strategy = test.boot, result = x) test_functionality_inference.R:76:2
   2.   └─testthat::expect_that(strategy, equals(result)) test_functionality_inference.R:69:6
   3.     └─testthat:::condition(object)
   4.       └─testthat::expect_equal(x, expected, ..., expected.label = label)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 39 ]
  Error: Test failures
  Execution halted