Running ‘testthat.R’ [193s/222s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  18/361 mismatches (average diff: 0.00025)
  [2]    255.964 -   255.964 == -7.65e-05
  [3]     43.972 -    43.972 == -9.59e-06
  [4]     -0.906 -    -0.906 ==  3.24e-06
  [20]   255.964 -   255.964 == -7.65e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.01e-05
  [38]   -69.869 -   -69.869 == -2.96e-06
  [39]    43.972 -    43.972 == -9.59e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687586e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [132s/219s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  19/361 mismatches (average diff: 0.000238)
  [1]      6.448 -     6.448 == -1.51e-06
  [2]    255.964 -   255.964 == -7.70e-05
  [3]     43.972 -    43.972 == -9.28e-06
  [4]     -0.906 -    -0.906 ==  2.00e-06
  [20]   255.964 -   255.964 == -7.70e-05
  [21] 11352.702 - 11352.705 == -3.17e-03
  [22]  1748.779 -  1748.779 == -4.64e-04
  [23]   -44.914 -   -44.914 ==  7.98e-05
  [38]   -69.869 -   -69.869 == -2.81e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.122621e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687586e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [227s/284s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  18/361 mismatches (average diff: 0.00025)
  [2]    255.964 -   255.964 == -7.65e-05
  [3]     43.972 -    43.972 == -9.59e-06
  [4]     -0.906 -    -0.906 ==  3.24e-06
  [20]   255.964 -   255.964 == -7.65e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.01e-05
  [38]   -69.869 -   -69.869 == -2.96e-06
  [39]    43.972 -    43.972 == -9.59e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687586e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [215s/256s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  18/361 mismatches (average diff: 0.00025)
  [2]    255.964 -   255.964 == -7.65e-05
  [3]     43.972 -    43.972 == -9.59e-06
  [4]     -0.906 -    -0.906 ==  3.24e-06
  [20]   255.964 -   255.964 == -7.65e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.01e-05
  [38]   -69.869 -   -69.869 == -2.96e-06
  [39]    43.972 -    43.972 == -9.59e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687586e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [109s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  19/361 mismatches (average diff: 0.000237)
  [1]      6.448 -     6.448 == -2.66e-07
  [2]    255.964 -   255.964 == -7.59e-05
  [3]     43.972 -    43.972 == -9.50e-06
  [4]     -0.906 -    -0.906 ==  2.66e-06
  [20]   255.964 -   255.964 == -7.59e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.10e-05
  [38]   -69.869 -   -69.869 == -2.94e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687584e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [184s/222s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  18/361 mismatches (average diff: 0.00025)
  [2]    255.964 -   255.964 == -7.65e-05
  [3]     43.972 -    43.972 == -9.59e-06
  [4]     -0.906 -    -0.906 ==  3.24e-06
  [20]   255.964 -   255.964 == -7.65e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.01e-05
  [38]   -69.869 -   -69.869 == -2.96e-06
  [39]    43.972 -    43.972 == -9.59e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687586e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [184s/220s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  18/361 mismatches (average diff: 0.00025)
  [2]    255.964 -   255.964 == -7.65e-05
  [3]     43.972 -    43.972 == -9.59e-06
  [4]     -0.906 -    -0.906 ==  3.24e-06
  [20]   255.964 -   255.964 == -7.65e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.01e-05
  [38]   -69.869 -   -69.869 == -2.96e-06
  [39]    43.972 -    43.972 == -9.59e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687586e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [107s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  19/361 mismatches (average diff: 0.000237)
  [1]      6.448 -     6.448 == -2.66e-07
  [2]    255.964 -   255.964 == -7.59e-05
  [3]     43.972 -    43.972 == -9.50e-06
  [4]     -0.906 -    -0.906 ==  2.66e-06
  [20]   255.964 -   255.964 == -7.59e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.10e-05
  [38]   -69.869 -   -69.869 == -2.94e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687584e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [149s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clusteredinterference)
  > 
  > test_check("clusteredinterference")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_integration.R:124:1'): Var mats [1]$Bread_mat are identical ──
  baseline_effects$variance_matrices[[1]]$Bread_mat not equal to pfx$variance_matrices[[1]]$Bread_mat.
  18/361 mismatches (average diff: 0.00025)
  [1]      6.448 -     6.448 == -1.78e-06
  [2]    255.964 -   255.964 == -7.64e-05
  [3]     43.972 -    43.972 == -1.10e-05
  [4]     -0.906 -    -0.906 ==  2.13e-06
  [20]   255.964 -   255.964 == -7.64e-05
  [21] 11352.702 - 11352.705 == -3.15e-03
  [22]  1748.779 -  1748.779 == -4.61e-04
  [23]   -44.914 -   -44.914 ==  8.10e-05
  [38]   -69.869 -   -69.869 == -2.98e-06
  ...
  ── Failure ('test_variance_nuisance.R:11:1'): Test that old code and new code produce same target estimates ──
  `AB_nuisance_list` not equal to `AB_nuisance_list_orig`.
  Component "model": Component "A_mat": Mean relative difference: 2.838705e-07
  Component "model": Component "B_list": Component "13": Mean relative difference: 4.631734e-07
  ── Failure ('test_variance_target.R:12:1'): Bread and meat of mu return as expected ──
  `AB_target_list_mu` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.784186e-08
  Component "B_list": Component 13: Mean relative difference: 1.245075e-07
  ── Failure ('test_variance_target.R:30:1'): Bread and meat of overall effect return as expected ──
  `AB_target_list_OE` not equal to `AB_target_list_orig`.
  Component "A_mat": Mean relative difference: 2.687584e-08
  Component "B_list": Component 13: Mean relative difference: 7.214016e-08
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted