CRAN Package Check Results for Package causalBatch

Last updated on 2026-04-28 02:50:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 27.27 380.75 408.02 OK
r-devel-linux-x86_64-debian-gcc 1.3.0 18.44 278.10 296.54 OK
r-devel-linux-x86_64-fedora-clang 1.3.0 49.00 608.71 657.71 OK
r-devel-linux-x86_64-fedora-gcc 1.3.0 51.00 649.58 700.58 OK
r-devel-windows-x86_64 1.3.0 34.00 331.00 365.00 OK
r-patched-linux-x86_64 1.3.0 27.13 360.83 387.96 OK
r-release-linux-x86_64 1.3.0 23.42 367.80 391.22 OK
r-release-macos-arm64 1.3.0 7.00 98.00 105.00 OK
r-release-macos-x86_64 1.3.0 20.00 423.00 443.00 OK
r-release-windows-x86_64 1.3.0 62.00 332.00 394.00 OK
r-oldrel-macos-arm64 1.3.0 OK
r-oldrel-macos-x86_64 1.3.0 18.00 367.00 385.00 OK
r-oldrel-windows-x86_64 1.3.0 43.00 448.00 491.00 ERROR

Check Details

Version: 1.3.0
Check: tests
Result: ERROR Running 'testthat.R' [44s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(causalBatch) > > test_check("causalBatch") Adjusting for1covariate(s) or covariate level(s) Adjusting for1covariate(s) or covariate level(s) Adjusting for1covariate(s) or covariate level(s) # weights: 3 (2 variable) initial value 126.152787 final value 121.944814 converged # weights: 3 (2 variable) initial value 81.791367 iter 10 value 46.103739 iter 10 value 46.103738 iter 10 value 46.103738 final value 46.103738 converged # weights: 3 (2 variable) initial value 119.914462 final value 103.969546 converged # weights: 3 (2 variable) initial value 124.073345 final value 106.315253 converged Loading required package: ks Attaching package: 'ks' The following object is masked from 'package:testthat': compare Saving _problems/test-vector_matching-106.R [ FAIL 1 | WARN 1 | SKIP 3 | PASS 47 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-causal_cdcorr.R:31:3', 'test-causal_cdcorr.R:46:3', 'test-causal_cdcorr.R:89:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-vector_matching.R:106:3'): VM throws warning when samples retained is low ── Expected `cb.align.vm_trim(sim.low$Ts, sim.low$Xs, retain.ratio = 0.8)` to throw a warning. [ FAIL 1 | WARN 1 | SKIP 3 | PASS 47 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64