Running ‘testthat.R’ [66s/74s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(iotarelr)
  > 
  > test_check("iotarelr")
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 58 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_basic_funct.R:238'): Input types for check new rater ─────────
  check_new_rater(...) (`actual`) not equal to check_new_rater(...) (`expected`).
  
    `actual$categorical_level$raw_estimates$iota`: 0.279 0.274 0.274
  `expected$categorical_level$raw_estimates$iota`: 0.282 0.281 0.273
  
    `actual$categorical_level$raw_estimates$iota_error_1`: 0.430 0.397 0.274
  `expected$categorical_level$raw_estimates$iota_error_1`: 0.435 0.391 0.273
  
  actual$categorical_level$raw_estimates$iota_error_2 vs expected$categorical_level$raw_estimates$iota_error_2
  - 0.290296
  + 0.282354
  - 0.328480
  + 0.328471
  - 0.451325
  + 0.454065
  
  actual$categorical_level$raw_estimates$beta_reliability vs expected$categorical_level$raw_estimates$beta_reliability
  - 0.53122
  + 0.54502
  - 0.64284
  + 0.64285
  - 0.33401
  + 0.32158
  
  actual$categorical_level$raw_estimates$assignment_error_matrix vs expected$categorical_level$raw_estimates$assignment_error_matrix
                                                                               [,1]      [,2]      [,3]
  - actual$categorical_level$raw_estimates$assignment_error_matrix[1, ]   0.3934375 0.2131250 0.3934375
  + expected$categorical_level$raw_estimates$assignment_error_matrix[1, ] 0.3934341 0.2131317 0.3934341
  - actual$categorical_level$raw_estimates$assignment_error_matrix[2, ]   0.1837320 0.4081340 0.4081340
  + expected$categorical_level$raw_estimates$assignment_error_matrix[2, ] 0.1630444 0.4184778 0.4184778
  - actual$categorical_level$raw_estimates$assignment_error_matrix[3, ]   0.3173021 0.1827063 0.4999916
  + expected$categorical_level$raw_estimates$assignment_error_matrix[3, ] 0.3173090 0.1826809 0.5000101
  
  actual$categorical_level$chance_corrected$alpha_reliability vs expected$categorical_level$chance_corrected$alpha_reliability
  - 0.090156
  + 0.090151
  - 0.112201
  + 0.127717
  - 0.249987
  + 0.250015
  
  actual$categorical_level$chance_corrected$beta_reliability vs expected$categorical_level$chance_corrected$beta_reliability
  - 0.06244
  + 0.09003
  - 0.28568
  + 0.28570
  - -0.33198
  + -0.35683
  
  actual$scale_level$iota_index vs expected$scale_level$iota_index
                                              [,1]
  - actual$scale_level$iota_index[1, ]   0.2158547
  + expected$scale_level$iota_index[1, ] 0.2248375
  
  actual$scale_level$iota_index_dyn2 vs expected$scale_level$iota_index_dyn2
                                                   [,1]
  - actual$scale_level$iota_index_dyn2[1, ]   0.2009731
  + expected$scale_level$iota_index_dyn2[1, ] 0.2084993
  
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 58 ]
  Error: Test failures
  Execution halted