-
Notifications
You must be signed in to change notification settings - Fork 343
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
try to add duplicate warning definition only for knitr #11875
base: main
Are you sure you want to change the base?
Conversation
@cscheid Do you know if our schema would allow to get a specific YAML validation for an option in cell while this option is also used as The way I tried here, seems to have remove the execute part Normaly warning is also in execute So do we have a way to have two Thank you ! |
e543068
to
c513898
Compare
A note that the document in example
Is not supposed to be rendered and should have a validation error at rendering time. But this is not happening because of quarto-cli/src/core/schema/validate-document.ts Lines 113 to 116 in 46d71b0
End line problem 😁 Fixing this will probably make a lot of document fails, at least those using valid knitr option but unknown to validation. We'll see. I'll probably open a new PR to solve this issue. |
#12151 will fix the YAML validation, but this means that |
For reference, similar problem with quarto-cli/src/resources/schema/cell-codeoutput.yml Lines 17 to 35 in e8eefd9
|
In knitr,
warning: 'NA'
is supported. How to allow that for auto completion ?