Running ‘testthat.R’ [7s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(BayesMallowsSMC2)
  > 
  > test_check("BayesMallowsSMC2")
  Saving _problems/test-compute_sequentially_partial-11.R
  BayesMallowsSMC2 Model
  ======================
  
  Number of particles:      100
  Number of timepoints:     100
  Number of items:          5
  Number of clusters:       1
  
  Log marginal likelihood:  -472.34
  Final ESS:                63.55
  Resampling events:        5/100
  BayesMallowsSMC2 Model
  ======================
  
  Number of particles:      100
  Number of timepoints:     100
  Number of items:          5
  Number of clusters:       1
  
  Log marginal likelihood:  -472.34
  Final ESS:                63.55
  Resampling events:        5/100
  BayesMallowsSMC2 Model
  ======================
  
  Number of particles:      50
  Number of timepoints:     100
  Number of items:          5
  Number of clusters:       1
  
  Log marginal likelihood:  -445.30
  Final ESS:                35.39
  Resampling events:        4/100
  BayesMallowsSMC2 Model Summary
  ==============================
  
  Number of particles:      100
  Number of timepoints:     100
  Number of items:          5
  Number of clusters:       1
  
  Log marginal likelihood:  -472.34
  Final ESS:                63.55
  Resampling events:        5/100
  
  Posterior Statistics for Alpha:
  -------------------------------
  Cluster 1: Mean = 0.0359, SD = 0.0238
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-compute_sequentially_partial.R:11:3'): compute_sequentially works with partial data ──
  Expected `alpha_hat` > 0.06.
  Actual comparison: 0.046 <= 0.060
  Difference: -0.014 <= 0
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]
  Error:
  ! Test failures.
  Execution halted