* using log directory 'd:/Rcompile/CRANpkg/local/4.6/svyweight.Rcheck' * using R Under development (unstable) (2026-03-09 r89583 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-03-10 18:19:30 UTC * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'svyweight' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [6s] OK * checking Rd files ... [1s] 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 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] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] ERROR Running 'testthat.R' [6s] 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 ... [19s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR, 1 NOTE