CRAN Package Check Results for Package inferference

Last updated on 2026-10-26 01:51:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 2.48 264.49 266.97 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 1.83 155.22 157.05 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.3 182.00 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.3 181.58 ERROR
r-devel-windows-x86_64 1.0.3 6.00 253.00 259.00 OK
r-patched-linux-x86_64 1.0.3 3.24 254.89 258.13 OK
r-release-linux-x86_64 1.0.3 2.93 253.56 256.49 ERROR
r-release-macos-arm64 1.0.3 1.00 53.00 54.00 OK
r-release-macos-x86_64 1.0.3 9.00 ERROR
r-release-windows-x86_64 1.0.3 4.00 248.00 252.00 OK
r-oldrel-macos-arm64 1.0.3 OK
r-oldrel-macos-x86_64 1.0.3 2.00 352.00 354.00 OK
r-oldrel-windows-x86_64 1.0.3 6.00 346.00 352.00 OK

Check Details

Version: 1.0.3
Check: tests
Result: 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/62s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/31s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/19s] 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 Flavor: r-release-linux-x86_64

Version: 1.0.3
Check: package dependencies
Result: ERROR Package required but not available: ‘spaMM’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-release-macos-x86_64