Package check result: OK Changes to worse in reverse depends: Package: lme4 Check: tests New result: ERROR Running ‘AAAtest-all.R’ [87s/87s] Running ‘HSAURtrees.R’ [2s/2s] Running ‘REMLdev.R’ [2s/2s] Running ‘ST.R’ [1s/1s] Running ‘agridat_gotway.R’ [2s/2s] Running ‘bootMer.R’ [4s/10s] Running ‘boundary.R’ [9s/9s] Running ‘confint.R’ [3s/3s] Running ‘devCritFun.R’ [1s/1s] Running ‘drop.R’ [2s/2s] Running ‘drop1contrasts.R’ [2s/2s] Running ‘dynload.R’ [0s/0s] Running ‘elston.R’ [2s/2s] Running ‘evalCall.R’ [2s/2s] Running ‘extras.R’ [1s/1s] Running ‘falsezero_dorie.R’ [1s/1s] Running ‘fewlevels.R’ [0s/0s] Running ‘getME.R’ [2s/2s] Running ‘glmer-1.R’ [3s/3s] Running ‘glmerControlPass.R’ [3s/3s] Running ‘glmerWarn.R’ [2s/2s] Running ‘glmmExt.R’ [4s/4s] Running ‘glmmWeights.R’ [4s/4s] Running ‘hatvalues.R’ [2s/2s] Running ‘is.R’ [2s/2s] Running ‘lmList-tst.R’ [2s/2s] Running ‘lme4_nlme.R’ [2s/2s] Running ‘lmer-0.R’ [2s/2s] Running ‘lmer-1.R’ [1s/1s] Running ‘lmer-conv.R’ [2s/2s] Running ‘lmer2_ex.R’ [1s/1s] Running ‘methods.R’ [2s/2s] Running ‘minval.R’ [1s/1s] Running ‘modFormula.R’ [2s/2s] Running ‘nbinom.R’ [1s/1s] Running ‘nlmer-conv.R’ [1s/1s] Running ‘nlmer.R’ [2s/2s] Running ‘offset.R’ [2s/2s] Running ‘optimizer.R’ [3s/3s] Running ‘polytomous.R’ [1s/1s] Running ‘prLogistic.R’ [1s/1s] Running ‘predict_basis.R’ [2s/2s] Running ‘predsim.R’ [2s/2s] Running ‘priorWeights.R’ [3s/3s] Running ‘priorWeightsModComp.R’ [2s/2s] Running ‘profile-tst.R’ [1s/1s] Running ‘refit.R’ [1s/1s] Running ‘resids.R’ [2s/2s] Running ‘respiratory.R’ [4s/4s] Running ‘simulate.R’ [1s/1s] Running ‘test-glmernbref.R’ [2s/2s] Running ‘testOptControl.R’ [2s/2s] Running ‘testcolonizer.R’ [2s/2s] Running ‘testcrab.R’ [5s/5s] Running ‘throw.R’ [2s/2s] Running ‘varcorr.R’ [2s/2s] Running ‘vcov-etc.R’ [2s/2s] Running the tests in ‘tests/AAAtest-all.R’ failed. Complete output: > if (base::require("testthat", quietly = TRUE)) { + pkg <- "lme4" + require(pkg, character.only=TRUE, quietly=TRUE) + if(getRversion() < "3.5.0") { withAutoprint <- identity ; prt <- print } else { prt <- identity } + if(Sys.getenv("USER") %in% c("maechler", "bbolker")) withAutoprint({ + ## for developers' sake: + lP <- .libPaths() # ---- .libPaths() : ---- + prt(lP) + ## ---- Entries in .libPaths()[1] : ---- + prt(list.files(lP[1], include.dirs=TRUE)) + prt(sessionInfo()) + prt(packageDescription("Matrix")) + ## 'lme4' from packageDescription "file" : + prt(attr(packageDescription("lme4"), "file")) + }) + test_check(pkg) + ##======== ^^^ + print(warnings()) # TODO? catch most of these by expect_warning(..) + } else { + cat( "package 'testthat' not available, cannot run unit tests\n" ) + } Saving _problems/test-formulaEval-183.R [ FAIL 1 | WARN 0 | SKIP 6 | PASS 1769 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-eval.R:2:1' • Skipping (1): 'test-covariance_nlmer.R:22:3' • empty test (3): , , • testLevel < 2 is TRUE (1): 'test-predict.R:689:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-formulaEval.R:181:5'): lmerForm ────────────────────────────── Expected `ff` to equal `~...`. Differences: formulas differ in contents [ FAIL 1 | WARN 0 | SKIP 6 | PASS 1769 ] Error: ! Test failures. Execution halted Package: REndo Check: tests New result: ERROR Running ‘testthat.R’ [113s/114s] 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