quarto-dev / quarto-dev/quarto
Running cells with `#| error: true` stops evaluation
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
Bug description
I am working on a quarto book and currently, I want to display some errors as part of the writing. This feature works when rendering the book. When I click "run all cells" or "run above", the code stops evaluating after an error. This means I can't easily run all the code.
It would be great if the quarto running cells takes notes of these errors and does not stop on these errors
Steps to reproduce
Reprex:
---
format: html
---
```{r}
#| error: true
mean()
```
```{r}
print("hello")
```
Click "Run all cells"
Actual behavior
No response
Expected behavior
No response
Your environment
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided Quarto book reproducer and trace the handling of “Run all cells” and “Run above” when a cell has #| error: true. Verify that the later print("hello") cell still executes after mean() raises an error; done means evaluation continues while the expected error remains visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100