CRAN Package Check Results for Package causalBatch

Last updated on 2024-10-16 22:49:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 24.39 346.04 370.43 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 20.27 249.08 269.35 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 612.06 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 620.57 OK
r-devel-windows-x86_64 1.2.0 30.00 302.00 332.00 OK
r-patched-linux-x86_64 1.2.0 ERROR
r-release-linux-x86_64 1.2.0 25.34 315.84 341.18 OK
r-release-macos-arm64 1.2.0 165.00 OK
r-release-macos-x86_64 1.2.0 264.00 OK
r-release-windows-x86_64 1.2.0 26.00 295.00 321.00 OK
r-oldrel-macos-arm64 1.2.0 184.00 OK
r-oldrel-macos-x86_64 1.2.0 381.00 OK
r-oldrel-windows-x86_64 1.2.0 38.00 388.00 426.00 OK

Check Details

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [38s/50s] 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") Found2batches Adjusting for1covariate(s) or covariate level(s) Standardizing Data across genes Fitting L/S model and finding priors Finding parametric adjustments Adjusting the Data Found2batches Adjusting for1covariate(s) or covariate level(s) Standardizing Data across genes Fitting L/S model and finding priors Finding parametric adjustments Adjusting the Data Loading required package: ks Attaching package: 'ks' The following object is masked from 'package:testthat': compare [ FAIL 1 | WARN 0 | SKIP 3 | PASS 37 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Error ('test-causal_cdcorr.R:122:3'): raises warning when few samples are retained ── Error in `cb.align.vm_trim(Ts, Xs, retain.ratio = retain.ratio, ddx = ddx)`: No samples retained by vector matching. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-causal_cdcorr.R:122:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─causalBatch::cb.detect.caus_cdcorr(...) 8. └─causalBatch::cb.align.vm_trim(...) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 37 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64