CRAN Package Check Results for Maintainer ‘Felix Frauhammer <felixfrauhammer at gmail.com>’

Last updated on 2024-12-23 12:49:42 CET.

Package ERROR OK
cellpypes 1 12

Package cellpypes

Current CRAN status: ERROR: 1, OK: 12

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cellpypes) > > test_check("cellpypes") [ FAIL 2 | WARN 5 | SKIP 0 | PASS 53 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-pseudobulk.R:10:3'): class_to_deseq2 example working ───────── `{ ... }` threw an unexpected error. Message: Install DESeq2 to use class_to_deseq2 function. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-pseudobulk.R:10: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. └─cellpypes::class_to_deseq2(obj, meta_data, "T", ~treatment) at test-pseudobulk.R:20:7 ── Error ('test-pseudobulk.R:61:3'): class_to_deseq2 stops gracefully if class has zero cells. ── Error in `class_to_deseq2(dds, meta_data, "T", ~treatment)`: Install DESeq2 to use class_to_deseq2 function. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-pseudobulk.R:61: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. └─cellpypes::class_to_deseq2(dds, meta_data, "T", ~treatment) [ FAIL 2 | WARN 5 | SKIP 0 | PASS 53 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang