Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(iotarelr)
  Loading required package: ggplot2
  Loading required package: ggalluvial
  > 
  > test_check("iotarelr")
  [ FAIL 1 | WARN 4 | 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.28 0.27 0.28
  `expected$categorical_level$raw_estimates$iota`: 0.28 0.28 0.27
  
    `actual$categorical_level$raw_estimates$iota_error_1`: 0.43 0.40 0.28
  `expected$categorical_level$raw_estimates$iota_error_1`: 0.44 0.39 0.27
  
    `actual$categorical_level$raw_estimates$iota_error_2`: 0.30 0.33 0.45
  `expected$categorical_level$raw_estimates$iota_error_2`: 0.28 0.33 0.45
  
    `actual$categorical_level$raw_estimates$alpha_reliability`: 0.39 0.40 0.50
  `expected$categorical_level$raw_estimates$alpha_reliability`: 0.39 0.42 0.50
  
    `actual$categorical_level$raw_estimates$beta_reliability`: 0.52 0.64 0.35
  `expected$categorical_level$raw_estimates$beta_reliability`: 0.55 0.64 0.32
  
  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.3934408 0.2131184 0.3934408
  + expected$categorical_level$raw_estimates$assignment_error_matrix[1, ] 0.3934286 0.2131429 0.3934286
  - actual$categorical_level$raw_estimates$assignment_error_matrix[2, ]   0.2035398 0.3982726 0.3981876
  + expected$categorical_level$raw_estimates$assignment_error_matrix[2, ] 0.1630832 0.4184584 0.4184584
  - actual$categorical_level$raw_estimates$assignment_error_matrix[3, ]   0.3172966 0.1826943 0.5000092
  + expected$categorical_level$raw_estimates$assignment_error_matrix[3, ] 0.3173019 0.1826981 0.5000000
  
    `actual$categorical_level$chance_corrected$alpha_reliability`: 0.09 0.10 0.25
  `expected$categorical_level$chance_corrected$alpha_reliability`: 0.09 0.13 0.25
  
    `actual$categorical_level$chance_corrected$beta_reliability`: 0.04 0.29 -0.31
  `expected$categorical_level$chance_corrected$beta_reliability`: 0.09 0.29 -0.36
  
  actual$scale_level$iota_index vs expected$scale_level$iota_index
                                              [,1]
  - actual$scale_level$iota_index[1, ]   0.2072713
  + expected$scale_level$iota_index[1, ] 0.2248094
  
  actual$scale_level$iota_index_dyn2 vs expected$scale_level$iota_index_dyn2
                                                   [,1]
  - actual$scale_level$iota_index_dyn2[1, ]   0.1937210
  + expected$scale_level$iota_index_dyn2[1, ] 0.2084758
  
  [ FAIL 1 | WARN 4 | SKIP 1 | PASS 66 ]
  Error: Test failures
  Execution halted