Running ‘testthat.R’ [9s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(iotarelr)
  > 
  > test_check("iotarelr")
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 66 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • Comparisaton of fast and slow estimation (1): 'test_basic_funct.R:330:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_basic_funct.R:303:3'): Input types for check new rater ───────
  check_new_rater(...) (`actual`) not equal to check_new_rater(...) (`expected`).
  
    `actual$categorical_level$raw_estimates$iota`: 0.278 0.272 0.275
  `expected$categorical_level$raw_estimates$iota`: 0.282 0.281 0.273
  
    `actual$categorical_level$raw_estimates$iota_error_1`: 0.429 0.399 0.275
  `expected$categorical_level$raw_estimates$iota_error_1`: 0.435 0.391 0.273
  
    `actual$categorical_level$raw_estimates$iota_error_2`: 0.292 0.328 0.451
  `expected$categorical_level$raw_estimates$iota_error_2`: 0.282 0.328 0.454
  
    `actual$categorical_level$raw_estimates$alpha_reliability`: 0.393 0.405 0.500
  `expected$categorical_level$raw_estimates$alpha_reliability`: 0.393 0.418 0.500
  
    `actual$categorical_level$raw_estimates$beta_reliability`: 0.527 0.643 0.337
  `expected$categorical_level$raw_estimates$beta_reliability`: 0.545 0.643 0.322
  
  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.3934380 0.2131241 0.3934380
  + expected$categorical_level$raw_estimates$assignment_error_matrix[1, ] 0.3934519 0.2130963 0.3934519
  - actual$categorical_level$raw_estimates$assignment_error_matrix[2, ]   0.1895579 0.4052211 0.4052211
  + expected$categorical_level$raw_estimates$assignment_error_matrix[2, ] 0.1630510 0.4184745 0.4184745
  - actual$categorical_level$raw_estimates$assignment_error_matrix[3, ]   0.3172905 0.1827048 0.5000048
  + expected$categorical_level$raw_estimates$assignment_error_matrix[3, ] 0.3173098 0.1826878 0.5000024
  
  actual$categorical_level$chance_corrected$alpha_reliability vs expected$categorical_level$chance_corrected$alpha_reliability
    0.090
  - 0.108
  + 0.128
    0.250
  
  actual$categorical_level$chance_corrected$beta_reliability vs expected$categorical_level$chance_corrected$beta_reliability
  - 0.055
  + 0.090
    0.286
  - -0.325
  + -0.357
  
  actual$scale_level$iota_index vs expected$scale_level$iota_index
                                              [,1]
  - actual$scale_level$iota_index[1, ]   0.2133335
  + expected$scale_level$iota_index[1, ] 0.2248513
  
  actual$scale_level$iota_index_dyn2 vs expected$scale_level$iota_index_dyn2
                                                   [,1]
  - actual$scale_level$iota_index_dyn2[1, ]   0.1988491
  + expected$scale_level$iota_index_dyn2[1, ] 0.2085108
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 66 ]
  Error: Test failures
  Execution halted