- using R Under development (unstable) (2026-11-03 r90835)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.5
flang version 23.1.5
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-04 21:20:40 UTC
- using option ‘--no-stop-on-test-error’
- 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 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 ‘inferference’ can be installed ... OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... OK
- checking Rd files ... OK
- 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 ... 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 ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [12s/15s] ERROR
Running ‘testthat.R’ [12s/14s]
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 ... [129s/149s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR