Skip to content

Running cells with #| error: true stops evaluation #796

@kylebutts

Description

@kylebutts

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions