* using log directory 'd:/Rcompile/CRANpkg/local/4.7/inferference.Rcheck' * using R Under development (unstable) (2026-10-24 r90762 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-10-25 20:43:42 UTC * checking for file 'inferference/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'inferference' version '1.0.3' * 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 'inferference' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] 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 ... [4s] OK * checking Rd files ... [1s] OK * 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [16s] ERROR Running 'testthat.R' [16s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(inferference) > > test_check("inferference") Saving _problems/test_effects-19.R Saving _problems/test_effects-24.R Saving _problems/test_effects-30.R Saving _problems/test_effects-36.R [ FAIL 4 | WARN 1 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_effects.R:16:3'): retrieval functions work ─────────────────── Expected `as.numeric(as.matrix(direct_effect(test, 0.4)[values]))` to equal `c(0.24673529536089, 0.122468329766916, 0.00670177977095976, 0.48676881095082)`. Differences: 4/4 mismatches (average diff: 5.3e-05) [1] 0.24677 - 0.2467 == 3.62e-05 [2] 0.12250 - 0.1225 == 3.57e-05 [3] 0.00667 - 0.0067 == -3.38e-05 [4] 0.48688 - 0.4868 == 1.06e-04 ── Failure ('test_effects.R:21:3'): retrieval functions work ─────────────────── Expected `as.numeric(as.matrix(ie(test, 0.35, 0.4)[values]))` to equal `c(...)`. Differences: 4/4 mismatches (average diff: 1.16e-05) [1] 0.0667 - 0.0667 == 1.50e-06 [2] 0.0680 - 0.0680 == 9.15e-06 [3] -0.0665 - -0.0665 == -1.64e-05 [4] 0.1999 - 0.1999 == 1.94e-05 ── Failure ('test_effects.R:27:3'): retrieval functions work ─────────────────── Expected `as.numeric(as.matrix(te(test, 0.35, 0.4)[values]))` to equal `c(0.313421628689255, 0.14769062385725, 0.0239533250747932, 0.602889932303717)`. Differences: 4/4 mismatches (average diff: 5.69e-05) [1] 0.3135 - 0.313 == 3.77e-05 [2] 0.1477 - 0.148 == 3.86e-05 [3] 0.0239 - 0.024 == -3.80e-05 [4] 0.6030 - 0.603 == 1.13e-04 ── Failure ('test_effects.R:33:3'): retrieval functions work ─────────────────── Expected `as.numeric(as.matrix(oe(test, 0.35, 0.4)[values]))` to equal `c(...)`. Differences: 4/4 mismatches (average diff: 2.19e-05) [1] 0.0944 - 0.0944 == 1.13e-05 [2] 0.0715 - 0.0714 == 1.55e-05 [3] -0.0457 - -0.0456 == -1.91e-05 [4] 0.2344 - 0.2344 == 4.17e-05 [ FAIL 4 | WARN 1 | SKIP 0 | PASS 34 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [180s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR