Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(CorMID)
  > testthat::test_dir(path = "./testthat")
  ✔ | F W  S  OK | Context
  
  ⠏ |          0 | CalcTheoreticalMDV                                             
  ✖ | 1        0 | CalcTheoreticalMDV
  ────────────────────────────────────────────────────────────────────────────────
  Error ('test-CalcTheoreticalMDV.R:4:5'): CalcTheoreticalMDV returns expected result
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-CalcTheoreticalMDV.R:4:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::unname(...)
   5. └─CorMID::CalcTheoreticalMDV(fml = "C5H6Si1", algo = "Rdisop")
   6.   └─CorMID:::verify_suggested("Rdisop")
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |          0 | CorMID                                                         
  ✖ | 1        0 | CorMID
  ────────────────────────────────────────────────────────────────────────────────
  Error ('test-CorMID.R:5:1'): (code run outside of `test_that()`)
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(mid = mid, r = r, fml = fml, algo = "Rdisop") at test-CorMID.R:5:1
   2.   └─CorMID:::verify_suggested("Rdisop")
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |          0 | CountChemicalElements                                          
  ✔ |          1 | CountChemicalElements
  
  ⠏ |          0 | FitMID                                                         
  ⠋ |          1 | FitMID                                                         
  ⠴ |          6 | FitMID                                                         
  ✔ |          6 | FitMID [3.9s]
  
  ⠏ |          0 | calc_mid_error                                                 
  ⠋ |          1 | calc_mid_error                                                 
  ✔ |          2 | calc_mid_error
  
  ⠏ |          0 | poss_local                                                     
  ✔ |          6 | poss_local
  
  ⠏ |          0 | recMID                                                         
  ⠙ | 2        0 | recMID                                                         
  ⠹ | 3        0 | recMID                                                         
  ✖ | 4        0 | recMID
  ────────────────────────────────────────────────────────────────────────────────
  Error ('test-recMID.R:5:5'): recMID returns expected result
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:5:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:18:5'): recMID plot returns expected result
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:18:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:31:5'): recMID plot returns expected result with alternative options
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:31:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:44:5'): recMID plot returns expected result with more alternative options
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:44:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |          0 | weight_errors                                                  
  ✔ |          4 | weight_errors
  
  ══ Results ═════════════════════════════════════════════════════════════════════
  Duration: 5.2 s
  
  ── Failed tests ────────────────────────────────────────────────────────────────
  Error ('test-CalcTheoreticalMDV.R:4:5'): CalcTheoreticalMDV returns expected result
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-CalcTheoreticalMDV.R:4:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::unname(...)
   5. └─CorMID::CalcTheoreticalMDV(fml = "C5H6Si1", algo = "Rdisop")
   6.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-CorMID.R:5:1'): (code run outside of `test_that()`)
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(mid = mid, r = r, fml = fml, algo = "Rdisop") at test-CorMID.R:5:1
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:5:5'): recMID returns expected result
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:5:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:18:5'): recMID plot returns expected result
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:18:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:31:5'): recMID plot returns expected result with alternative options
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:31:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  Error ('test-recMID.R:44:5'): recMID plot returns expected result with more alternative options
  Error in `verify_suggested("Rdisop")`: The use of this function requires packageRdisop. Please install.
  Backtrace:
      ▆
   1. └─CorMID::recMID(...) at test-recMID.R:44:5
   2.   └─CorMID:::verify_suggested("Rdisop")
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 19 ]
  
  Don't worry, you'll get it.
  Deleting unused snapshots:
  • CorMID/cormid-plot-alt.svg
  • CorMID/cormid-plot.svg
  • recMID/recmid-plot-alt.svg
  • recMID/recmid-plot-alt2.svg
  • recMID/recmid-plot.svg
  Error: Test failures
  Execution halted