"Run All Cells" only executes cells matching the language of the first cell in knitr reticulate documents

オープン
#1,230 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
73/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript, vscode

調査の方向性

Start with apps/vscode/src/providers/cell/commands.ts and inspect RunAllCellsCommand to see how it selects cells before reticulate routing. Compare Run All with the reported Run Above/Below behavior. Done means mixed R and Python cells in a knitr reticulate document execute in document order, matching quarto render.

索引モデルが issue の本文から書いたものです。

説明

vscode
Bug description

Open this document and select Quarto: Run All Cells:

---
engine: knitr
---

```{python}
print("Python 1")
```

```{r}
cat("R 1\n")
```

```{python}
print("Python 2")
```
Expected behavior

All three cells execute in document order, as they do with quarto render.

Actual behavior

Only the Python cells execute. They correctly run through reticulate, but the R cell is skipped. Running the R cell individually works and if the first executable cell is R instead, Run All executes only the R cells and skips Python.

The apparent cause is that RunAllCellsCommand collects only cells matching the first executable cell’s language, before reticulate routing happens.

This is related to posit-dev/positron#6675, but concerns bulk cell selection rather than the routing of individual cells. Run Above/Below also appear to filter by language.

Environment
  • Positron 2026.11.1 build 4
  • Quarto extension 1.139.0
  • Inline output disabled
  • quarto.cells.useReticulate: true
Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

No response

主要言語
TypeScript
スター
665
フォーク
69
平均マージ
1日 8時間
マージ済み PR(30日)
13

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto のほかの issue

quarto-dev/quarto の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。