Package check result: OK Changes to worse in reverse depends: Package: mapbayr Check: tests New result: ERROR Running ‘testthat.R’ [38s/39s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(mapbayr) Attaching package: 'mapbayr' The following object is masked from 'package:stats': filter > > test_check("mapbayr") Building pchelle_mod ... done. Building mod_getparam ... done. Building mod12 ... done. [==============================================================] ID 4/4 (100%) Attaching package: 'mrgsolve' The following object is masked from 'package:stats': filter [ FAIL 3 | WARN 37 | SKIP 4 | PASS 711 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-progress.R:5:3', 'test-reset-conditions.R:3:3', 'test-reset-conditions.R:93:3', 'test-reset-conditions.R:175:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hist.R:42:3'): SHK is shown if n ID > 1 ──────────────────────── Error in `eval(substitute(expr), e)`: no slot of name "itol" for this object of class "mrgmod" Backtrace: ▆ 1. ├─graphics::hist(est001) at test-hist.R:42:3 2. └─mapbayr:::hist.mapbayests(est001) 3. ├─base::data.frame(...) 4. └─mapbayr:::eta_descr(x$model) 5. ├─base::as.list(x) 6. └─mrgsolve::as.list(x) 7. └─mrgsolve (local) .local(x, ...) 8. ├─base::within(...) 9. └─base::within.list(...) 10. └─base::eval(substitute(expr), e) 11. └─base::eval(substitute(expr), e) ── Error ('test-hist.R:70:3'): ID percentile is not shown if n ID > 1 ────────── Error in `eval(substitute(expr), e)`: no slot of name "itol" for this object of class "mrgmod" Backtrace: ▆ 1. ├─graphics::hist(est001) at test-hist.R:70:3 2. └─mapbayr:::hist.mapbayests(est001) 3. ├─base::data.frame(...) 4. └─mapbayr:::eta_descr(x$model) 5. ├─base::as.list(x) 6. └─mrgsolve::as.list(x) 7. └─mrgsolve (local) .local(x, ...) 8. ├─base::within(...) 9. └─base::within.list(...) 10. └─base::eval(substitute(expr), e) 11. └─base::eval(substitute(expr), e) ── Error ('test-use_posterior.R:73:3'): multi ID ─────────────────────────────── Error in `eval(substitute(expr), e)`: no slot of name "itol" for this object of class "mrgmod" Backtrace: ▆ 1. ├─est001 %>% use_posterior(update_omega = TRUE) at test-use_posterior.R:73:3 2. └─mapbayr::use_posterior(., update_omega = TRUE) 3. └─mapbayr:::mbr_cov_names(mod) 4. ├─base::as.list(x) 5. └─mrgsolve::as.list(x) 6. └─mrgsolve (local) .local(x, ...) 7. ├─base::within(...) 8. └─base::within.list(...) 9. └─base::eval(substitute(expr), e) 10. └─base::eval(substitute(expr), e) [ FAIL 3 | WARN 37 | SKIP 4 | PASS 711 ] Error: Test failures Execution halted