CRAN Package Check Results for Package causalBatch

Last updated on 2024-07-14 05:53:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 34.15 445.37 479.52 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.0 25.05 324.58 349.63 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 586.29 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 574.20 OK
r-devel-windows-x86_64 1.2.0 27.00 283.00 310.00 OK
r-patched-linux-x86_64 1.2.0 20.85 424.70 445.55 OK
r-release-linux-x86_64 1.2.0 19.47 415.24 434.71 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 27.00 286.00 313.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 37.00 391.00 428.00 OK

Check Details

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [58s/67s] 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-devel-linux-x86_64-debian-clang