Running 'testthat.R' [132s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(infer)
  > 
  > test_check("infer")
  Setting `type = "permute"` in `generate()`.
  -- 1. Failure: chi-square matches chisq.test value (@test-calculate.R#219)  ----
  `infer_way` not equal to `trad_way`.
  Attributes: < Names: 2 string mismatches >
  Attributes: < Length mismatch: comparison on first 3 components >
  Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
  Attributes: < Component "class": 3 string mismatches >
  Attributes: < Component 2: Modes: numeric, list >
  Attributes: < Component 2: Lengths: 1, 2 >
  Attributes: < Component 2: names for current but not for target >
  Attributes: < Component 2: Attributes: < target is NULL, current is list > >
  Attributes: < Component 2: target is numeric, current is tbl_df >
  ...
  
  -- 2. Failure: chi-square matches chisq.test value (@test-calculate.R#236)  ----
  `infer_way` not equal to `trad_way`.
  Attributes: < Names: 2 string mismatches >
  Attributes: < Length mismatch: comparison on first 3 components >
  Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
  Attributes: < Component "class": 3 string mismatches >
  Attributes: < Component 2: Modes: numeric, list >
  Attributes: < Component 2: Lengths: 1, 2 >
  Attributes: < Component 2: names for current but not for target >
  Attributes: < Component 2: Attributes: < target is NULL, current is list > >
  Attributes: < Component 2: target is numeric, current is tbl_df >
  ...
  
  -- 3. Failure: calc_impl.count works (@test-calculate.R#473)  ------------------
  gen_iris12 %>% calculate(stat = "count") not equal to `%>%`(...).
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Modes: logical, numeric >
  Attributes: < Component 2: Lengths: 1, 10 >
  Attributes: < Component 2: target is logical, current is numeric >
  
  == testthat results  ===========================================================
  [ OK: 339 | SKIPPED: 60 | WARNINGS: 21 | FAILED: 3 ]
  1. Failure: chi-square matches chisq.test value (@test-calculate.R#219) 
  2. Failure: chi-square matches chisq.test value (@test-calculate.R#236) 
  3. Failure: calc_impl.count works (@test-calculate.R#473) 
  
  Error: testthat unit tests failed
  Execution halted