CRAN Package Check Results for Package socialmixr

Last updated on 2025-12-21 17:50:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 6.64 65.58 72.22 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.0 4.75 47.22 51.97 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.0 13.00 99.80 112.80 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.0 11.00 107.74 118.74 ERROR
r-devel-windows-x86_64 0.4.0 8.00 118.00 126.00 OK
r-patched-linux-x86_64 0.4.0 6.42 79.08 85.50 OK
r-release-linux-x86_64 0.4.0 6.20 78.89 85.09 OK
r-release-macos-arm64 0.4.0 OK
r-release-macos-x86_64 0.4.0 5.00 96.00 101.00 OK
r-release-windows-x86_64 0.4.0 9.00 114.00 123.00 OK
r-oldrel-macos-arm64 0.4.0 OK
r-oldrel-macos-x86_64 0.4.0 5.00 84.00 89.00 OK
r-oldrel-windows-x86_64 0.4.0 12.00 140.00 152.00 OK

Check Details

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # nolint start > library(testthat) > library(socialmixr) > # nolint end > > data.table::setDTthreads(1) > test_check("socialmixr") Saving _problems/test-matrix-57.R [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-surveys.r:4:3', 'test-surveys.r:11:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-matrix.r:57:3'): (code run outside of `test_that()`) ─────────── Error in ``[.data.table`(survey$participants, , `:=`(sum_weight, nrow(.SD)), by = (dayofweek %in% 1:5), )`: attempt access index 53/53 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-matrix.r:56:1 2. │ └─base::withCallingHandlers(...) 3. └─base::lapply(...) 4. └─socialmixr (local) FUN(X[[i]], ...) 5. ├─base::do.call(contact_matrix, x) at test-matrix.r:57:3 6. └─socialmixr (local) `<fn>`(...) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘socialmixr.Rmd’ using rmarkdown Quitting from socialmixr.Rmd:199-204 [unnamed-chunk-15] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 53/53 in VECTOR_ELT --- Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'socialmixr.Rmd' failed with diagnostics: attempt access index 53/53 in VECTOR_ELT --- failed re-building ‘socialmixr.Rmd’ SUMMARY: processing the following file failed: ‘socialmixr.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # nolint start > library(testthat) > library(socialmixr) > # nolint end > > data.table::setDTthreads(1) > test_check("socialmixr") Saving _problems/test-matrix-57.R [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-surveys.r:4:3', 'test-surveys.r:11:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-matrix.r:57:3'): (code run outside of `test_that()`) ─────────── Error in ``[.data.table`(survey$participants, , `:=`(sum_weight, nrow(.SD)), by = (dayofweek %in% 1:5), )`: attempt access index 53/53 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-matrix.r:56:1 2. │ └─base::withCallingHandlers(...) 3. └─base::lapply(...) 4. └─socialmixr (local) FUN(X[[i]], ...) 5. ├─base::do.call(contact_matrix, x) at test-matrix.r:57:3 6. └─socialmixr (local) `<fn>`(...) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/13s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # nolint start > library(testthat) > library(socialmixr) > # nolint end > > data.table::setDTthreads(1) > test_check("socialmixr") Saving _problems/test-matrix-57.R [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-surveys.r:4:3', 'test-surveys.r:11:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-matrix.r:57:3'): (code run outside of `test_that()`) ─────────── Error in ``[.data.table`(survey$participants, , `:=`(sum_weight, nrow(.SD)), by = (dayofweek %in% 1:5), )`: attempt access index 53/53 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-matrix.r:56:1 2. │ └─base::withCallingHandlers(...) 3. └─base::lapply(...) 4. └─socialmixr (local) FUN(X[[i]], ...) 5. ├─base::do.call(contact_matrix, x) at test-matrix.r:57:3 6. └─socialmixr (local) `<fn>`(...) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘socialmixr.Rmd’ using rmarkdown Quitting from socialmixr.Rmd:199-204 [unnamed-chunk-15] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 53/53 in VECTOR_ELT --- Backtrace: ▆ 1. └─socialmixr::contact_matrix(...) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'socialmixr.Rmd' failed with diagnostics: attempt access index 53/53 in VECTOR_ELT --- failed re-building ‘socialmixr.Rmd’ SUMMARY: processing the following file failed: ‘socialmixr.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > # nolint start > library(testthat) > library(socialmixr) > # nolint end > > data.table::setDTthreads(1) > test_check("socialmixr") Saving _problems/test-matrix-57.R [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-surveys.r:4:3', 'test-surveys.r:11:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-matrix.r:57:3'): (code run outside of `test_that()`) ─────────── Error in ``[.data.table`(survey$participants, , `:=`(sum_weight, nrow(.SD)), by = (dayofweek %in% 1:5), )`: attempt access index 53/53 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-matrix.r:56:1 2. │ └─base::withCallingHandlers(...) 3. └─base::lapply(...) 4. └─socialmixr (local) FUN(X[[i]], ...) 5. ├─base::do.call(contact_matrix, x) at test-matrix.r:57:3 6. └─socialmixr (local) `<fn>`(...) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc