Last updated on 2025-12-28 03:52:06 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| surveysd | 1 | 4 | 8 |
Current CRAN status: ERROR: 1, NOTE: 4, OK: 8
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: compiled code
Result: NOTE
File 'surveysd/libs/x64/surveysd.dll':
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.
Flavor: r-devel-windows-x86_64
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
Flavor: r-devel-windows-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
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-windows-x86_64
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
--- finished re-building 'methodology.Rmd'
--- re-building 'raowu.Rmd' using rmarkdown
--- 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
Flavor: r-devel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.