CRAN Package Check Results for Package causalBatch

Last updated on 2026-04-16 01:51:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 30.27 382.45 412.72 OK
r-devel-linux-x86_64-debian-gcc 1.3.0 18.56 263.46 282.02 OK
r-devel-linux-x86_64-fedora-clang 1.3.0 52.00 670.21 722.21 OK
r-devel-linux-x86_64-fedora-gcc 1.3.0 48.00 653.30 701.30 ERROR
r-devel-macos-arm64 1.3.0 7.00 97.00 104.00 OK
r-devel-windows-x86_64 1.3.0 30.00 323.00 353.00 OK
r-patched-linux-x86_64 1.3.0 25.51 361.70 387.21 OK
r-release-linux-x86_64 1.3.0 26.94 366.46 393.40 OK
r-release-macos-arm64 1.3.0 OK
r-release-macos-x86_64 1.3.0 18.00 367.00 385.00 OK
r-release-windows-x86_64 1.3.0 30.00 321.00 351.00 OK
r-oldrel-macos-arm64 1.3.0 OK
r-oldrel-macos-x86_64 1.3.0 18.00 333.00 351.00 OK
r-oldrel-windows-x86_64 1.3.0 38.00 445.00 483.00 OK

Check Details

Version: 1.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [74s/219s] 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.845934 final value 124.333837 converged # weights: 3 (2 variable) initial value 60.303805 final value 55.336090 converged # weights: 3 (2 variable) initial value 130.311670 final value 117.786960 converged # weights: 3 (2 variable) initial value 124.766493 final value 112.486936 converged Saving _problems/test-causal_cdcorr-124.R 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_cdcorr.R:122:3'): raises warning when few samples are retained ── Expected `cb.detect.caus_cdcorr(...)` to throw a warning. [ FAIL 1 | WARN 1 | SKIP 3 | PASS 47 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc