Running ‘testthat.R’ [146s/177s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(REndo)
  > library(Formula)
  > 
  > test_check("REndo")
  Saving _problems/test-inputchecks_multilevel-27.R
  Saving _problems/test-inputchecks_multilevel-28.R
  Saving _problems/test-inputchecks_multilevel-200.R
  Saving _problems/test-inputchecks_multilevel-203.R
  Saving _problems/test-inputchecks_multilevel-204.R
  Saving _problems/test-inputchecks_multilevel-206.R
  Saving _problems/test-inputchecks_multilevel-207.R
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  [ FAIL 7 | WARN 0 | SKIP 30 | PASS 2148 ]
  
  ══ Skipped tests (30) ══════════════════════════════════════════════════════════
  • On CRAN (30): 'test-correctness_copulacorrections.R:14:3',
    'test-correctness_copulacorrections.R:90:3',
    'test-correctness_copulacorrections.R:204:3',
    'test-correctness_latentIV.R:10:3', 'test-correctness_multilevel.R:12:3',
    'test-correctness_multilevel.R:62:3', 'test-correctness_multilevel.R:120:3',
    'test-correctness_multilevel.R:151:3', 'test-correctness_multilevel.R:185:3',
    'test-correctness_multilevel.R:213:3', 'test-correctness_multilevel.R:228:3',
    'test-correctness_multilevel.R:293:3',
    'test-runability_copulacorrection.R:12:3',
    'test-runability_copulacorrection.R:30:3',
    'test-runability_copulacorrection.R:90:3',
    'test-runability_copulacorrection.R:184:3',
    'test-runability_copulacorrection.R:204:3',
    'test-runability_copulacorrection.R:219:3',
    'test-runability_copulacorrection.R:303:3',
    'test-runability_copulacorrection.R:316:3',
    'test-runability_multilevel.R:22:3', 'test-runability_multilevel.R:61:3',
    'test-runability_multilevel.R:75:3', 'test-runability_multilevel.R:93:3',
    'test-runability_multilevel.R:103:3', 'test-runability_multilevel.R:112:3',
    'test-runability_multilevel.R:124:3', 'test-runability_multilevel.R:136:3',
    'test-runability_multilevel.R:157:3',
    'test-s3methods_copualcorrection.R:46:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-inputchecks_multilevel.R:27:3'): Fail if formula variables are not in data ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:27:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  ── Failure ('test-inputchecks_multilevel.R:28:3'): Fail if formula variables are not in data ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:28:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  ── Failure ('test-inputchecks_multilevel.R:200:3'): Fail if wrong data type in any of the formula parts ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:200:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  ── Failure ('test-inputchecks_multilevel.R:203:3'): Fail if wrong data type in any of the formula parts ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:203:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  ── Failure ('test-inputchecks_multilevel.R:204:3'): Fail if wrong data type in any of the formula parts ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:204:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  ── Failure ('test-inputchecks_multilevel.R:206:3'): Fail if wrong data type in any of the formula parts ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:206:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  ── Failure ('test-inputchecks_multilevel.R:207:3'): Fail if wrong data type in any of the formula parts ──
  `multilevelIV(...)` threw an error with unexpected message.
  Expected match: "The above errors were encountered!"
  Actual message: "undefined columns selected"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-inputchecks_multilevel.R:207:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─REndo::multilevelIV(...)
    7.   ├─REndo:::check_err_msg(...)
    8.   └─REndo:::checkinput_multilevel_dataVSformula(...)
    9.     ├─data[, all.vars(f.lmer), drop = FALSE]
   10.     └─base::`[.data.frame`(data, , all.vars(f.lmer), drop = FALSE)
  
  [ FAIL 7 | WARN 0 | SKIP 30 | PASS 2148 ]
  Error:
  ! Test failures.
  Execution halted