R Under development (unstable) (2024-12-07 r87428 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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 135.856847 final value 122.065450 converged # weights: 3 (2 variable) initial value 98.426900 final value 74.662877 converged # weights: 3 (2 variable) initial value 121.300757 final value 111.081503 converged # weights: 3 (2 variable) initial value 135.856847 final value 115.118577 converged Loading required package: ks Attaching package: 'ks' The following object is masked from 'package:testthat': compare [ FAIL 1 | WARN 0 | 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 0 | SKIP 3 | PASS 47 ] Error: Test failures Execution halted