- using R version 4.5.2 Patched (2026-02-24 r89477)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-12) 14.3.0
GNU Fortran (Debian 14.3.0-12) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘svyweight/DESCRIPTION’ ... OK
- this is package ‘svyweight’ version ‘0.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘svyweight’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [12s/16s] OK
- checking Rd files ... [0s/0s] NOTE
checkRd: (-1) eff_n.Rd:32: Lost braces; missing escapes or markup?
32 | \code{\link[survey:surveysummary]{survey::svymean()}} and related functions from the {survey}
| ^
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [4s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/9s] ERROR
Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(svyweight)
>
> test_check("svyweight")
Saving _problems/test-rake-22.R
Saving _problems/test-rake-31.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 98 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rake.R:15:5'): rakew8 expected weights are generated using basic common parameters ──
Expected `rakew8(...)` to equal `benchmark_out`.
Differences:
2179/2179 mismatches (average diff: 0.000226)
[1] 0.528 - 0.528 == -8.71e-05
[2] 0.569 - 0.569 == -6.78e-05
[3] 1.291 - 1.292 == -1.24e-04
[4] 0.569 - 0.569 == -6.78e-05
[5] 1.325 - 1.326 == -1.42e-04
[6] 0.884 - 0.884 == 3.69e-05
[7] 0.748 - 0.748 == -3.50e-04
[8] 1.759 - 1.757 == 2.06e-03
[9] 0.636 - 0.636 == 5.77e-05
...
── Failure ('test-rake.R:24:5'): rakew8 expected weights are generated using basic common parameters ──
Expected `rakew8(...)` to equal `benchmark_out`.
Differences:
2179/2179 mismatches (average diff: 0.000226)
[1] 0.528 - 0.528 == -8.71e-05
[2] 0.569 - 0.569 == -6.78e-05
[3] 1.291 - 1.292 == -1.24e-04
[4] 0.569 - 0.569 == -6.78e-05
[5] 1.325 - 1.326 == -1.42e-04
[6] 0.884 - 0.884 == 3.69e-05
[7] 0.748 - 0.748 == -3.50e-04
[8] 1.759 - 1.757 == 2.06e-03
[9] 0.636 - 0.636 == 5.77e-05
...
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 98 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE