Running ‘testthat.R’ [64s/113s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(infer)
  > 
  > test_check("infer")
  Response: hours (numeric)
  Null Hypothesis: point
  # A tibble: 1 × 1
     stat
    <dbl>
  1  41.4
  Response: hours (numeric)
  Null Hypothesis: point
  # A tibble: 1 × 1
     stat
    <dbl>
  1  41.4
  Response: hours (numeric)
  Null Hypothesis: point
  # A tibble: 1 × 1
     stat
    <dbl>
  1  62.4
  Response: hours (numeric)
  Null Hypothesis: point
  # A tibble: 1 × 1
     stat
    <dbl>
  1  62.4
  list()
  list()
  <simpleWarning: With only 10 replicates, it may be difficult to see the relationship between simulation and theory.>
  <warning/rlang_warning>
  Warning:
  Ignoring unknown parameters: direction
  ---
  Backtrace:
    1. infer:::expect_doppelganger(...)
         at test-visualize.R:556:2
   11. ggplot2:::`+.gg`(...)
   12. ggplot2:::add_ggplot(e1, e2, e2name)
   14. infer:::ggplot_add.infer_layer(object, p, objectname)
   16. infer:::shade_confidence_interval_term(...)
   18. ggplot2 `<fn>`(...)
   19. ggplot2::layer(...)
  [ FAIL 1 | WARN 2 | SKIP 14 | PASS 716 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (14)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-assume.R:20:3): distribution description works as expected ──────
  Error in `is_grouped_df(tbl)`: 'rho' must be an environment not pairlist: detected in C-level eval
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-assume.R:20:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─... %>% ...
    5. ├─infer assume_(...)
    6. │ └─infer::assume(...) at test-assume.R:6:4
    7. ├─infer::hypothesize(., null = "independence")
    8. │ └─infer:::hypothesize_checks(x, null)
    9. ├─infer::specify(., age ~ partyid)
   10. │ └─... %>% mutate_if(is.integer, as.numeric)
   11. ├─dplyr::mutate_if(., is.integer, as.numeric)
   12. │ └─dplyr:::check_grouped(.tbl, "mutate", "if")
   13. │   └─dplyr::is_grouped_df(tbl)
   14. ├─dplyr::mutate_if(., is.logical, as.factor)
   15. │ └─dplyr:::check_grouped(.tbl, "mutate", "if")
   16. │   └─dplyr::is_grouped_df(tbl)
   17. └─dplyr::mutate_if(., is.character, as.factor)
   18.   └─dplyr:::check_grouped(.tbl, "mutate", "if")
   19.     └─dplyr::is_grouped_df(tbl)
  
  [ FAIL 1 | WARN 2 | SKIP 14 | PASS 716 ]
  Deleting unused snapshots:
  • shade_confidence_interval/ci-both-fill.svg
  • shade_confidence_interval/ci-both-nofill.svg
  • shade_confidence_interval/ci-extra-aes-2.svg
  • shade_confidence_interval/ci-sim-nofill.svg
  • shade_confidence_interval/ci-theor-fill.svg
  • shade_confidence_interval/ci-theor-nofill.svg
  • shade_p_value/pval-both-both.svg
  • shade_p_value/pval-both-corrupt.svg
  • shade_p_value/pval-both-left.svg
  • shade_p_value/pval-both-null.svg
  • shade_p_value/pval-both-right.svg
  • shade_p_value/pval-direction-both.svg
  • shade_p_value/pval-direction-left.svg
  • shade_p_value/pval-extra-aes-2.svg
  • shade_p_value/pval-extra-aes-3.svg
  • shade_p_value/pval-sim-both.svg
  • shade_p_value/pval-sim-corrupt.svg
  • shade_p_value/pval-sim-left.svg
  • shade_p_value/pval-sim-null.svg
  • shade_p_value/pval-theor-both.svg
  • shade_p_value/pval-theor-corrupt.svg
  • shade_p_value/pval-theor-left.svg
  • shade_p_value/pval-theor-null.svg
  • shade_p_value/pval-theor-right.svg
  • visualize/df-obs-stat-2.svg
  • visualize/vis-both-both-1.svg
  • visualize/vis-both-both-2.svg
  • visualize/vis-both-left-1.svg
  • visualize/vis-both-left-2.svg
  • visualize/vis-both-none-1.svg
  • visualize/vis-both-none-2.svg
  • visualize/vis-both-right-1.svg
  • visualize/vis-both-right-2.svg
  • visualize/vis-no-hypothesize-both.svg
  • visualize/vis-sim-both-1.svg
  • visualize/vis-sim-both-2.svg
  • visualize/vis-sim-left-1.svg
  • visualize/vis-sim-none-1.svg
  • visualize/vis-sim-right-1.svg
  • visualize/vis-theor-both-1.svg
  • visualize/vis-theor-both-2.svg
  • visualize/vis-theor-left-1.svg
  • visualize/vis-theor-none-1.svg
  • visualize/vis-theor-none-2.svg
  • visualize/vis-theor-none-3.svg
  • visualize/vis-theor-none-4.svg
  • visualize/vis-theor-right-1.svg
  • visualize/visualise.svg
  • visualize/viz-assume-2t-ci.svg
  • visualize/viz-assume-2t-p-val-both.svg
  • visualize/viz-assume-2t-p-val-left.svg
  • visualize/viz-assume-2t-p-val-right.svg
  • visualize/viz-assume-2t.svg
  • visualize/viz-assume-2z-ci.svg
  • visualize/viz-assume-2z-p-val-both.svg
  • visualize/viz-assume-2z-p-val-left.svg
  • visualize/viz-assume-2z-p-val-right.svg
  • visualize/viz-assume-2z.svg
  • visualize/viz-assume-f-p-val.svg
  • visualize/viz-assume-t-ci.svg
  • visualize/viz-assume-t-p-val-both.svg
  • visualize/viz-assume-t-p-val-left.svg
  • visualize/viz-assume-t-p-val-right.svg
  • visualize/viz-assume-t.svg
  • visualize/viz-assume-z-ci.svg
  • visualize/viz-assume-z-p-val-both.svg
  • visualize/viz-assume-z-p-val-left.svg
  • visualize/viz-assume-z-p-val-right.svg
  • visualize/viz-assume-z.svg
  • visualize/viz-fit-conf-int.svg
  • visualize/viz-fit-p-val-both.svg
  • visualize/viz-fit-p-val-left.svg
  • visualize/viz-fit-p-val-right.svg
  Error: Test failures
  Execution halted