Running ‘testthat.R’ [25s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(IMEC)
  > 
  > test_check("IMEC")
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is -4"
  Press [enter] to continue
  Saving _problems/test-0-basictests-29.R
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is -4"
  Press [enter] to continue
  Saving _problems/test-0-basictests-60.R
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is -4"
  [ FAIL 2 | WARN 2 | SKIP 1 | PASS 2 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-0-basictests.R:105:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-0-basictests.R:29:3'): analytic way of calculating coherence works ──
  Error in `expect(0 < mean(IMEC$ExplanatoryCoherenceT1[[2]]))`: `failure_message` must be a character vector, not absent.
  Backtrace:
      ▆
   1. └─testthat::expect(failure_message = <empty>) at test-0-basictests.R:29:3
   2.   └─testthat:::check_character(failure_message)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-0-basictests.R:60:3'): analytic way of calculating coherence works for 1 theory ──
  Error in `expect(0 < mean(IMEC$ExplanatoryCoherenceT1[[2]]))`: `failure_message` must be a character vector, not absent.
  Backtrace:
      ▆
   1. └─testthat::expect(failure_message = <empty>) at test-0-basictests.R:60:3
   2.   └─testthat:::check_character(failure_message)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 2 | SKIP 1 | PASS 2 ]
  Error:
  ! Test failures.
  Execution halted