Last updated on 2025-11-16 07:50:08 CET.
| Package | ERROR | OK |
|---|---|---|
| cellpypes | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cellpypes)
>
> test_check("cellpypes")
Saving _problems/test-pseudobulk-21.R
Saving _problems/test-pseudobulk-65.R
[ FAIL 2 | WARN 4 | SKIP 0 | PASS 53 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-pseudobulk.R:10:3'): class_to_deseq2 example working ─────────
Expected `{ ... }` not to throw any errors.
Actually got a <simpleError> with message:
Install DESeq2 to use class_to_deseq2 function.
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 4 | SKIP 0 | PASS 53 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64