Skip to content

Error in .filterGenes(...), nrow(nzGeneRanges) == nrow(expr) is not TRUE #175

@bbimber

Description

@bbimber

Hello,

I am trying to run the escape package through another R package . Our automated testing recently began to fail. The failure has something to do with the interaction with GSVA or perhaps something about the matrix-related packages.

The stacktrace for the error is below. Have you encountered anything like this? Thanks in advance for any debugging ideas.

2025-11-17T21:37:47.7458777Z Error ('test-escape.R:24:5'): escape works as expected
2025-11-17T21:37:47.7458917Z <bplist_error/bperror/error/condition>
2025-11-17T21:37:47.7459310Z ##[error]Error: BiocParallel errors
2025-11-17T21:37:47.7459490Z   1 remote errors, element index: 1
2025-11-17T21:37:47.7459620Z   1 unevaluated and other errors
2025-11-17T21:37:47.7459731Z   first remote error:
2025-11-17T21:37:47.7460398Z ##[error]Error in .filterGenes(dataMatrix, removeConstant = removeConstant, removeNzConstant = removeNzConstant, : nrow(nzGeneRanges) == nrow(expr) is not TRUE
2025-11-17T21:37:47.7460409Z 
2025-11-17T21:37:47.7460511Z Backtrace:
2025-11-17T21:37:47.7460597Z      ▆
2025-11-17T21:37:47.7460888Z   1. ├─testthat::expect_warning(...) at test-escape.R:24:5
2025-11-17T21:37:47.7461194Z   2. │ └─testthat:::quasi_capture(...)
2025-11-17T21:37:47.7461400Z   3. │   ├─testthat (local) .capture(...)
2025-11-17T21:37:47.7461611Z   4. │   │ └─base::withCallingHandlers(...)
2025-11-17T21:37:47.7461906Z   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
2025-11-17T21:37:47.7462091Z   6. └─CellMembrane::RunEscape(...)
2025-11-17T21:37:47.7462318Z   7.   └─CellMembrane:::.RunEscapeOnSubset(...)
2025-11-17T21:37:47.7462495Z   8.     └─escape::runEscape(...)
2025-11-17T21:37:47.7462687Z   9.       └─escape::escape.matrix(...)
2025-11-17T21:37:47.7462873Z  10.         └─escape:::.plapply(...)
2025-11-17T21:37:47.7463185Z  11.           ├─BiocParallel::bplapply(X, FUN, ..., BPPARAM = BPPARAM)
2025-11-17T21:37:47.7463473Z  12.           └─BiocParallel::bplapply(X, FUN, ..., BPPARAM = BPPARAM)
2025-11-17T21:37:47.7463691Z  13.             └─BiocParallel:::.bpinit(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions