CRAN Package Check Results for Package surveysd

Last updated on 2025-12-20 17:50:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 28.61 113.10 141.71 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.0 21.12 78.63 99.75 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.0 64.00 165.35 229.35 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.0 56.00 165.57 221.57 ERROR
r-devel-windows-x86_64 2.0.0 38.00 259.00 297.00 OK
r-patched-linux-x86_64 2.0.0 32.45 350.46 382.91 OK
r-release-linux-x86_64 2.0.0 30.52 355.21 385.73 OK
r-release-macos-arm64 2.0.0 OK
r-release-macos-x86_64 2.0.0 20.00 224.00 244.00 OK
r-release-windows-x86_64 2.0.0 39.00 271.00 310.00 OK
r-oldrel-macos-arm64 2.0.0 OK
r-oldrel-macos-x86_64 2.0.0 20.00 224.00 244.00 OK
r-oldrel-windows-x86_64 2.0.0 47.00 352.00 399.00 OK

Check Details

Version: 2.0.0
Check: compiled code
Result: NOTE File ‘surveysd/libs/surveysd.so’: Found non-API call to R: ‘ATTRIB’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.0
Check: examples
Result: ERROR Running examples in ‘surveysd-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: calc.stError > ### Title: Calcualte point estimates and their standard errors using > ### bootstrap weights. > ### Aliases: calc.stError > ### Keywords: manip survey > > ### ** Examples > > # Import data and calibrate > > library(surveysd) > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > setDTthreads(1) > set.seed(1234) > eusilc <- demo.eusilc(n = 4,prettyNames = TRUE) Error in `[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < : attempt access index 29/29 in VECTOR_ELT Calls: demo.eusilc -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(surveysd) > > > test_check("surveysd") Saving _problems/test_calcstError-11.R Saving _problems/test_drawbootstrap-10.R Saving _problems/test_generateHHID-10.R Saving _problems/test_ipf-4.R Saving _problems/test_plot-11.R Saving _problems/test_recalib-10.R Saving _problems/test_rescaledbootstrap-12.R [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calcstError.R:11:1'): (code run outside of `test_that()`) ────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_calcstError.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_drawbootstrap.R:10:1'): (code run outside of `test_that()`) ──── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 3) at test_drawbootstrap.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_generateHHID.R:10:1'): (code run outside of `test_that()`) ───── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_generateHHID.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_ipf.R:4:1'): (code run outside of `test_that()`) ─────────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd::demo.eusilc(n = 1, prettyNames = TRUE) at test_ipf.R:4:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_plot.R:11:1'): (code run outside of `test_that()`) ───────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_plot.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_recalib.R:10:1'): (code run outside of `test_that()`) ────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 4) at test_recalib.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_rescaledbootstrap.R:12:1'): (code run outside of `test_that()`) ── Error in ``[.data.table`(eusilc, , `:=`(N.households, sum(db090[!duplicated(db030)])), by = db040)`: attempt access index 28/28 in VECTOR_ELT Backtrace: ▆ 1. ├─...[] at test_rescaledbootstrap.R:12:1 2. └─data.table:::`[.data.table`(...) at test_rescaledbootstrap.R:12:1 [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘error_estimation.Rmd’ using rmarkdown Quitting from error_estimation.Rmd:31-44 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 29/29 in VECTOR_ELT --- Backtrace: ▆ 1. └─surveysd::demo.eusilc(prettyNames = TRUE) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'error_estimation.Rmd' failed with diagnostics: attempt access index 29/29 in VECTOR_ELT --- failed re-building ‘error_estimation.Rmd’ --- re-building ‘ipf.Rmd’ using rmarkdown Quitting from ipf.Rmd:30-36 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 29/29 in VECTOR_ELT --- Backtrace: ▆ 1. └─surveysd::demo.eusilc(1, prettyNames = TRUE) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'ipf.Rmd' failed with diagnostics: attempt access index 29/29 in VECTOR_ELT --- failed re-building ‘ipf.Rmd’ --- re-building ‘methodology.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘methodology.Rmd’ --- re-building ‘raowu.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘raowu.Rmd’ --- re-building ‘surveysd.Rmd’ using rmarkdown Quitting from surveysd.Rmd:26-33 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 29/29 in VECTOR_ELT --- Backtrace: ▆ 1. └─surveysd::demo.eusilc(n = 2, prettyNames = TRUE) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'surveysd.Rmd' failed with diagnostics: attempt access index 29/29 in VECTOR_ELT --- failed re-building ‘surveysd.Rmd’ SUMMARY: processing the following files failed: ‘error_estimation.Rmd’ ‘ipf.Rmd’ ‘surveysd.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(surveysd) > > > test_check("surveysd") Saving _problems/test_calcstError-11.R Saving _problems/test_drawbootstrap-10.R Saving _problems/test_generateHHID-10.R Saving _problems/test_ipf-4.R Saving _problems/test_plot-11.R Saving _problems/test_recalib-10.R Saving _problems/test_rescaledbootstrap-12.R [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calcstError.R:11:1'): (code run outside of `test_that()`) ────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_calcstError.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_drawbootstrap.R:10:1'): (code run outside of `test_that()`) ──── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 3) at test_drawbootstrap.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_generateHHID.R:10:1'): (code run outside of `test_that()`) ───── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_generateHHID.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_ipf.R:4:1'): (code run outside of `test_that()`) ─────────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd::demo.eusilc(n = 1, prettyNames = TRUE) at test_ipf.R:4:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_plot.R:11:1'): (code run outside of `test_that()`) ───────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_plot.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_recalib.R:10:1'): (code run outside of `test_that()`) ────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 4) at test_recalib.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_rescaledbootstrap.R:12:1'): (code run outside of `test_that()`) ── Error in ``[.data.table`(eusilc, , `:=`(N.households, sum(db090[!duplicated(db030)])), by = db040)`: attempt access index 28/28 in VECTOR_ELT Backtrace: ▆ 1. ├─...[] at test_rescaledbootstrap.R:12:1 2. └─data.table:::`[.data.table`(...) at test_rescaledbootstrap.R:12:1 [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: examples
Result: ERROR Running examples in ‘surveysd-Ex.R’ failed The error most likely occurred in: > ### Name: calc.stError > ### Title: Calcualte point estimates and their standard errors using > ### bootstrap weights. > ### Aliases: calc.stError > ### Keywords: manip survey > > ### ** Examples > > # Import data and calibrate > > library(surveysd) > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > setDTthreads(1) > set.seed(1234) > eusilc <- demo.eusilc(n = 4,prettyNames = TRUE) Error in `[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < : attempt access index 29/29 in VECTOR_ELT Calls: demo.eusilc -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/21s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(surveysd) > > > test_check("surveysd") Saving _problems/test_calcstError-11.R Saving _problems/test_drawbootstrap-10.R Saving _problems/test_generateHHID-10.R Saving _problems/test_ipf-4.R Saving _problems/test_plot-11.R Saving _problems/test_recalib-10.R Saving _problems/test_rescaledbootstrap-12.R [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calcstError.R:11:1'): (code run outside of `test_that()`) ────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_calcstError.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_drawbootstrap.R:10:1'): (code run outside of `test_that()`) ──── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 3) at test_drawbootstrap.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_generateHHID.R:10:1'): (code run outside of `test_that()`) ───── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_generateHHID.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_ipf.R:4:1'): (code run outside of `test_that()`) ─────────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd::demo.eusilc(n = 1, prettyNames = TRUE) at test_ipf.R:4:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_plot.R:11:1'): (code run outside of `test_that()`) ───────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_plot.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_recalib.R:10:1'): (code run outside of `test_that()`) ────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 4) at test_recalib.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_rescaledbootstrap.R:12:1'): (code run outside of `test_that()`) ── Error in ``[.data.table`(eusilc, , `:=`(N.households, sum(db090[!duplicated(db030)])), by = db040)`: attempt access index 28/28 in VECTOR_ELT Backtrace: ▆ 1. ├─...[] at test_rescaledbootstrap.R:12:1 2. └─data.table:::`[.data.table`(...) at test_rescaledbootstrap.R:12:1 [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘error_estimation.Rmd’ using rmarkdown Quitting from error_estimation.Rmd:31-44 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 29/29 in VECTOR_ELT --- Backtrace: ▆ 1. └─surveysd::demo.eusilc(prettyNames = TRUE) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'error_estimation.Rmd' failed with diagnostics: attempt access index 29/29 in VECTOR_ELT --- failed re-building ‘error_estimation.Rmd’ --- re-building ‘ipf.Rmd’ using rmarkdown Quitting from ipf.Rmd:30-36 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 29/29 in VECTOR_ELT --- Backtrace: ▆ 1. └─surveysd::demo.eusilc(1, prettyNames = TRUE) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'ipf.Rmd' failed with diagnostics: attempt access index 29/29 in VECTOR_ELT --- failed re-building ‘ipf.Rmd’ --- re-building ‘methodology.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘methodology.Rmd’ --- re-building ‘raowu.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘raowu.Rmd’ --- re-building ‘surveysd.Rmd’ using rmarkdown Quitting from surveysd.Rmd:26-33 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 29/29 in VECTOR_ELT --- Backtrace: ▆ 1. └─surveysd::demo.eusilc(n = 2, prettyNames = TRUE) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'surveysd.Rmd' failed with diagnostics: attempt access index 29/29 in VECTOR_ELT --- failed re-building ‘surveysd.Rmd’ SUMMARY: processing the following files failed: ‘error_estimation.Rmd’ ‘ipf.Rmd’ ‘surveysd.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [14s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(surveysd) > > > test_check("surveysd") Saving _problems/test_calcstError-11.R Saving _problems/test_drawbootstrap-10.R Saving _problems/test_generateHHID-10.R Saving _problems/test_ipf-4.R Saving _problems/test_plot-11.R Saving _problems/test_recalib-10.R Saving _problems/test_rescaledbootstrap-12.R [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calcstError.R:11:1'): (code run outside of `test_that()`) ────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_calcstError.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_drawbootstrap.R:10:1'): (code run outside of `test_that()`) ──── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 3) at test_drawbootstrap.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_generateHHID.R:10:1'): (code run outside of `test_that()`) ───── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_generateHHID.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_ipf.R:4:1'): (code run outside of `test_that()`) ─────────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd::demo.eusilc(n = 1, prettyNames = TRUE) at test_ipf.R:4:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_plot.R:11:1'): (code run outside of `test_that()`) ───────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc() at test_plot.R:11:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_recalib.R:10:1'): (code run outside of `test_that()`) ────────── Error in ``[.data.table`(eusilc, , `:=`(povmd60, as.numeric(eqIncome < 0.6 * laeken::weightedMedian(eqIncome, w = db090))), by = year)`: attempt access index 29/29 in VECTOR_ELT Backtrace: ▆ 1. └─surveysd:::demo.eusilc(n = 4) at test_recalib.R:10:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_rescaledbootstrap.R:12:1'): (code run outside of `test_that()`) ── Error in ``[.data.table`(eusilc, , `:=`(N.households, sum(db090[!duplicated(db030)])), by = db040)`: attempt access index 28/28 in VECTOR_ELT Backtrace: ▆ 1. ├─...[] at test_rescaledbootstrap.R:12:1 2. └─data.table:::`[.data.table`(...) at test_rescaledbootstrap.R:12:1 [ FAIL 7 | WARN 0 | SKIP 1 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

mirror server hosted at Truenetwork, Russian Federation.