Skip to content

Quarto doesn't complain if examples error #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
penelopeysm opened this issue Sep 30, 2024 · 2 comments · Fixed by #529
Closed

Quarto doesn't complain if examples error #525

penelopeysm opened this issue Sep 30, 2024 · 2 comments · Fixed by #529
Assignees

Comments

@penelopeysm
Copy link
Member

penelopeysm commented Sep 30, 2024

Right now Quarto doesn't complain / exit with an error if any of the code examples return an error. which leads to things like https://turinglang.org/docs/tutorials/03-bayesian-neural-network/. Probably related to the use of the new Julia engine

It's not immediately obvious how to fix this, because maybe sometimes we do want the error.

I can look into it.

@penelopeysm penelopeysm self-assigned this Sep 30, 2024
@penelopeysm
Copy link
Member Author

The culprit is in this metadata file, which is applied to all qmd files under tutorials:

execute:
echo: true
output: true
error: true

Specifically error: true.

We should remove this and specifically add it to places where we expect errors.

@shravanngoswamii
Copy link
Member

Specifically error: true.

I think we added that because we were having a lot of errors and warnings when we were moving the site to Quarto. It's always good to remove it or make it false so that we don't push any defected code into the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants