Cannot pass an R vector to fig-subcap
with YAML validation, but works without
#12044
Labels
bug
Something isn't working
knitr
needs-discussion
Issues that require a team-wide discussion before proceeding further
yaml-validation
Issues with YAML validation and autocompletion in quarto
Milestone
Bug description
When YAML validation is on, I can't pass an R vector to
fig-subcap:
. I get the below error.When I set
validate-yaml: false
it progresses and produces the desired output:Clearly
fig-subcap
doesn't want/need a valuetrue
.Steps to reproduce
This fails:
This works:
Expected behavior
Either:
Yaml validation shouldn't complain being given a R vector via
!expr
.Passing an R vector to
fig-subcap
should never work (note: I'd much rather this wasn't the case unless there was some alternative to dynamically setting fig subcaps!)Actual behavior
See bug description - errors w/ yaml validation.
Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: