Repository navigation
Scope CHOIR setup and run the mouse pancreas example - #583
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 64a44c1511
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| #' pancreas_sub <- Seurat::NormalizeData(pancreas_sub, verbose = FALSE) | ||
| #' pancreas_sub <- RunCHOIR( | ||
| #' pancreas_sub, | ||
| #' object = pancreas_sub, |
There was a problem hiding this comment.
Exclude Windows from the runnable CHOIR example
On Windows, example("RunCHOIR") and checks that execute examples now fail because this example runs unconditionally, while RunCHOIR() explicitly rejects Windows before loading the backend. Previously, \dontrun{} prevented that failure. Preserve the executable example on supported platforms while excluding Windows. The repository's R-CMD-check.yaml uses --no-examples, so its Windows job will not catch this regression.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 11aa7a75e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| verbose = FALSE | ||
| ) | ||
| } | ||
| check_r(choir_r_packages, verbose = FALSE) |
There was a problem hiding this comment.
Update the CHOIR test mock for the simplified dependency call
The with_mock_choir() helper in tests/testthat/test-choir.R still replaces check_r() with a function whose dependencies argument has no default and evaluates it with expect_identical(dependencies, NA). This simplified call omits that argument, so every test that reaches the backend through this helper now fails with a missing-argument error instead of exercising CHOIR behavior. Give the mock the real function's default or retain the explicit argument.
Useful? React with 👍 / 👎.
Changes
PrepareEnv(modules = "choir")prepare only the CHOIR R dependencies; keep the existing behavior for mixed modules and explicit Python requests.RunCHOIR(). Reuse a loadable installation, and use the existing installer for missing dependencies.Validation
RunCHOIRreference page with examples enabled, using CHOIR 0.3.0. The example ran on all 1,000 cells and generated a plot with 13 clusters.