Running ‘testthat.R’ [3m/13m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rbmi)
  > 
  > test_check("rbmi")
  mmrm() registered as emmeans extension
  [ FAIL 4 | WARN 0 | SKIP 13 | PASS 1246 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-mmrm.R:337:5'
  • is_full_test() is not TRUE (12): 'test-draws.R:115:5',
    'test-fullusage.R:43:5', 'test-fullusage.R:117:5', 'test-fullusage.R:209:5',
    'test-fullusage.R:300:5', 'test-fullusage.R:431:5', 'test-fullusage.R:520:5',
    'test-fullusage.R:673:5', 'test-mcmc.R:327:5', 'test-mcmc.R:502:5',
    'test-parallel.R:8:5', 'test-reproducibility.R:9:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-draws.R:144: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)`: unable to load shared object '/tmp/RtmpG4gemS/working_dir/Rtmp0GLnEK/file1d3c041bd48f7b.so':
    libunwind.so.1: cannot open shared object file: No such file or directory
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-draws.R:143:5
   2. │ └─base::withCallingHandlers(...)
   3. ├─rbmi::draws(d$dat, d$dat_ice, d$vars, meth, quiet = TRUE) at test-draws.R:144:9
   4. └─rbmi:::draws.bayes(d$dat, d$dat_ice, d$vars, meth, quiet = TRUE)
   5.   └─rbmi:::fit_mcmc(...)
  ── Error ('test-mcmc.R:108:13'): Verbose suppression works ─────────────────────
  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)`: unable to load shared object '/tmp/RtmpG4gemS/working_dir/Rtmp0GLnEK/file1d3c0462d5d0ba.so':
    libunwind.so.1: cannot open shared object file: No such file or directory
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-mcmc.R:106:5
   2. │ └─base::withCallingHandlers(...)
   3. ├─utils::capture.output(...) at test-mcmc.R:107:9
   4. │ └─base::withVisible(...elt(i))
   5. ├─rbmi::draws(...) at test-mcmc.R:108:13
   6. └─rbmi:::draws.bayes(...)
   7.   └─rbmi:::fit_mcmc(...)
  ── Error ('test-print.R:102:9'): print - bayesian ──────────────────────────────
  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)`: unable to load shared object '/tmp/RtmpG4gemS/working_dir/Rtmp0GLnEK/file1d3c0419607619.so':
    libunwind.so.1: cannot open shared object file: No such file or directory
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-print.R:101:5
   2. │ └─base::withCallingHandlers(...)
   3. ├─rbmi::draws(...) at test-print.R:102:9
   4. └─rbmi:::draws.bayes(...)
   5.   └─rbmi:::fit_mcmc(...)
  ── Error ('test-reproducibility.R:121:9'): bayes - set.seed produces identical results ──
  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)`: unable to load shared object '/tmp/RtmpG4gemS/working_dir/Rtmp0GLnEK/file1d3c04e762f59.so':
    libunwind.so.1: cannot open shared object file: No such file or directory
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-reproducibility.R:120:5
   2. │ └─base::withCallingHandlers(...)
   3. ├─rbmi::draws(dat, dat_ice, vars, meth, quiet = TRUE) at test-reproducibility.R:121:9
   4. └─rbmi:::draws.bayes(dat, dat_ice, vars, meth, quiet = TRUE)
   5.   └─rbmi:::fit_mcmc(...)
  
  [ FAIL 4 | WARN 0 | SKIP 13 | PASS 1246 ]
  Error: Test failures
  Execution halted