CRAN Package Check Results for Package causalBatch

Last updated on 2025-09-10 12:49:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 26.56 385.59 412.15 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.0 20.19 270.67 290.86 OK
r-devel-linux-x86_64-fedora-clang 1.3.0 658.02 OK
r-devel-linux-x86_64-fedora-gcc 1.3.0 630.49 OK
r-devel-windows-x86_64 1.3.0 29.00 304.00 333.00 OK
r-patched-linux-x86_64 1.3.0 27.22 370.11 397.33 OK
r-release-linux-x86_64 1.3.0 24.91 371.27 396.18 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 28.00 323.00 351.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 442.00 478.00 OK

Check Details

Version: 1.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/53s] 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 118.528168 final value 111.532940 converged # weights: 3 (2 variable) initial value 112.289843 final value 56.561663 converged # weights: 3 (2 variable) initial value 135.856847 final value 110.406358 converged # weights: 3 (2 variable) initial value 128.232228 final value 117.228546 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-causal_ccombat.R:70:3'): AIPW cComBat raises warning when few samples are retained ── `cb.correct.aipw_cComBat(...)` 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-clang