Last updated on 2025-10-30 08:51:39 CET.
| Package | ERROR | OK |
|---|---|---|
| rbmiUtils | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.6
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/28s]
Running ‘testthat.R’ [26s/71s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rbmiUtils)
>
> test_check("rbmiUtils")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 62 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-utils.R:39:3'): positive test get_imputed_data (from vignettes) ──
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 1044466.5 Gb
Backtrace:
▆
1. ├─rbmi::draws(data = dat, vars = vars, method = method, quiet = TRUE) at test-utils.R:39:3
2. └─rbmi:::draws.bayes(...)
3. └─rbmi:::fit_mcmc(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 62 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.6
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘analyse2.Rmd’ using rmarkdown
Quitting from analyse2.Rmd:90-99 [impute]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `fit_mcmc()`:
! cannot allocate vector of size 1048100.1 Gb
---
Backtrace:
▆
1. ├─rbmi::draws(data = dat, vars = vars, method = method)
2. └─rbmi:::draws.bayes(data = dat, vars = vars, method = method)
3. └─rbmi:::fit_mcmc(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'analyse2.Rmd' failed with diagnostics:
cannot allocate vector of size 1048100.1 Gb
--- failed re-building ‘analyse2.Rmd’
SUMMARY: processing the following file failed:
‘analyse2.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang