Open
Description
I did not use
eval: -2
(in-chunk YAML syntax) because that gets rejected before rendering.In file test.qmd (line 8, columns 10--12) Field "eval" has value -2, which must instead be `true` or `false` 7: ```{r} 8: #| eval: -2 ~~~ 9: if (TRUE) { ✖ The value -2 is of type number. ℹ The error happened in location eval. ERROR: Validation of YAML cell metadata failed. ERROR: Render failed due to invalid YAML.
Originally posted by @fkohrt in #12164
quarto-cli/src/resources/schema/cell-codeoutput.yml
Lines 17 to 35 in e8eefd9