-
Notifications
You must be signed in to change notification settings - Fork 344
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
quarto inspect
fails with !expr
metadata
#10039
Comments
First Regarding I'll defer to @cscheid but I'm not sure Quarto can do something about this. |
I get that the inspect CLI can't know what it is. And maybe this is part of the problem of deferring to the underlying engine for the render, in that |
The syntax is still valid for That's tricky as Quarto tries to be agnostics of the engine (Jupyter, Julia, and knitr). |
I just ran into the same issue after upgrading to 1.5. The example by @rmflight is rendered the same way on 1.4.556 and 1.5.52 but The problem persist when quoting YAML tag literals. Take these files, which differ how YAML comments are quoted.
All three are rendered properly under 1.4.556 and 1.5.52, all pass `quarto inspect` output
|
Quarto 1.5.x did break the This is a major pain for users relying on |
Did some further tests using the 1.5 Windows pre-releases, and the regression was introduced between 1.5.28 and 1.5.29. After skimming the changelog, might be #9264. |
I think I missed this earlier because it had no milestone attached to it, I apologize. We'll fix ASAP. |
quarto inspect
fails with !expr
metadata
This is fixed on |
Bug description
Given a qmd document with multiple, computed figure captions generated using
{glue}
,quarto render
happily renders the document. However,quarto inspect
fails with aYAMLError: unknown tag
Steps to reproduce
Expected behavior
I expect if
quarto render
works, thenquarto inspect
should work as well.Actual behavior
quarto inspect
generates an error.Your environment
Quarto check output
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.45
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/rmflight/.TinyTeX/bin/x86_64-linux
Version: 2022
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: (None)
[✓] Checking R installation...........OK
Version: 4.3.0
Path: /rmflight_stuff/software/R-4.3.0
LibPaths:
- /home/rmflight/Projects/personal/targets_quarto_yaml/renv/library/R-4.3/x86_64-pc-linux-gnu
- /home/rmflight/.cache/R/renv/sandbox/R-4.3/x86_64-pc-linux-gnu/3f5517f9
knitr: 1.47
rmarkdown: 2.27
[✓] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered: