CRAN Package Check Results for Package causalBatch

Last updated on 2025-08-03 08:49:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 26.74 385.96 412.70 OK
r-devel-linux-x86_64-debian-gcc 1.3.0 20.09 264.31 284.40 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.0 646.36 OK
r-devel-linux-x86_64-fedora-gcc 1.3.0 622.31 OK
r-devel-windows-x86_64 1.3.0 28.00 323.00 351.00 OK
r-patched-linux-x86_64 1.3.0 25.07 361.93 387.00 OK
r-release-linux-x86_64 1.3.0 27.01 363.08 390.09 OK
r-release-macos-arm64 1.3.0 205.00 OK
r-release-macos-x86_64 1.3.0 385.00 OK
r-release-windows-x86_64 1.3.0 29.00 311.00 340.00 OK
r-oldrel-macos-arm64 1.3.0 195.00 OK
r-oldrel-macos-x86_64 1.3.0 351.00 OK
r-oldrel-windows-x86_64 1.3.0 36.00 436.00 472.00 OK

Check Details

Version: 1.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/35s] 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 124.766493 final value 114.258772 converged # weights: 3 (2 variable) initial value 52.679186 final value 42.159434 converged # weights: 3 (2 variable) initial value 134.470553 final value 121.607640 converged # weights: 3 (2 variable) initial value 119.914462 final value 103.525765 converged Loading required package: ks Attaching package: 'ks' The following object is masked from 'package:testthat': compare [ 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 ── `cb.align.vm_trim(sim.low$Ts, sim.low$Xs, retain.ratio = 0.8)` did not throw the expected warning. [ FAIL 1 | WARN 1 | SKIP 3 | PASS 47 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc