Running ‘testthat.R’ [189s/538s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rbmi)
  > 
  > # if (Sys.getenv("NOT_CRAN") != "true") {
  > #     Sys.setenv(RBMI_ENABLE_CACHE = "false")
  > #     options(rbmi.enable_cache = FALSE)
  > # }
  > 
  > test_check("rbmi")
  mmrm() registered as emmeans extension
  [ FAIL 1 | WARN 0 | SKIP 55 | PASS 1280 ]
  
  ══ Skipped tests (55) ══════════════════════════════════════════════════════════
  • On CRAN (11): 'test-impute.R:716:5', 'test-mmrm.R:387:5',
    'test-mmrm.R:517:5', 'test-mmrm.R:522:5', 'test-mmrm.R:527:5',
    'test-mmrm.R:532:5', 'test-mmrm.R:537:5', 'test-mmrm.R:542:5',
    'test-mmrm.R:547:5', 'test-mmrm.R:552:5', 'test-utilities.R:316:5'
  • is_full_test() is not TRUE (41): 'test-draws.R:133:5',
    'test-fullusage.R:130:5', 'test-fullusage.R:198:5', 'test-fullusage.R:290:5',
    'test-fullusage.R:297:5', 'test-fullusage.R:304:5', 'test-fullusage.R:311:5',
    'test-fullusage.R:318:5', 'test-fullusage.R:325:5', 'test-fullusage.R:332:5',
    'test-fullusage.R:339:5', 'test-fullusage.R:346:5', 'test-fullusage.R:353:5',
    'test-fullusage.R:441:5', 'test-fullusage.R:564:5', 'test-fullusage.R:646:5',
    'test-fullusage.R:804:5', 'test-mcmc.R:465:5', 'test-mcmc.R:472:5',
    'test-mcmc.R:479:5', 'test-mcmc.R:486:5', 'test-mcmc.R:493:5',
    'test-mcmc.R:500:5', 'test-mcmc.R:507:5', 'test-mcmc.R:514:5',
    'test-mcmc.R:521:5', 'test-mcmc.R:699:5', 'test-mcmc.R:826:5',
    'test-mcmc.R:945:5', 'test-mcmc.R:963:5', 'test-mcmc.R:978:5',
    'test-mcmc.R:996:5', 'test-mcmc.R:1014:5', 'test-mcmc.R:1032:5',
    'test-mcmc.R:1050:5', 'test-mcmc.R:1068:5', 'test-mcmc.R:1086:5',
    'test-parallel.R:7:5', 'test-reproducibility.R:7:5',
    'test-reproducibility.R:143:5', 'test-utilities.R:320:5'
  • is_local_test() is not TRUE (3): 'test-mcmc.R:157:5', 'test-print.R:98:5',
    'test-reproducibility.R:99:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-draws.R:167:9'): bayes ─────────────────────────────────────────
  Error in `fit_mcmc(designmat = model_df_scaled[, -1, drop = FALSE], outcome = model_df_scaled[, 
      1, drop = TRUE], group = data2[[vars$group]], visit = data2[[vars$visit]], 
      subjid = data2[[vars$subjid]], method = method, quiet = quiet)`: cannot allocate vector of size 1041820.9 Gb
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-draws.R:166:5
   2. │ └─base::withCallingHandlers(...)
   3. ├─rbmi::draws(d$dat, d$dat_ice, d$vars, meth, quiet = TRUE) at test-draws.R:167:9
   4. └─rbmi:::draws.bayes(d$dat, d$dat_ice, d$vars, meth, quiet = TRUE)
   5.   └─rbmi:::fit_mcmc(...)
  
  [ FAIL 1 | WARN 0 | SKIP 55 | PASS 1280 ]
  Error: Test failures
  Execution halted