Inherit Params from separate YML file #3658
Replies: 1 comment 16 replies
-
That version is a prerelease that's almost a year old now, and quarto is itself just over two years old. You really should upgrade to one of the stable versions (ideally, 1.2.269, the latest release). |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
NOTE:
I am using the quarto R package version 1.0 and quarto version 0.9.80
I found the version by running this code:
as.numeric_version(system2(quarto:::find_quarto(), "--version", stdout = TRUE))
Due to some IT restrictions I have not updated quarto to the most recent release, although I may be able to in the future.
I have multiple *.qmd files that I want to be parameterized. I want them to share parameters and default values by inheriting from a separate YML file.
For example, I have a file named test.qmd with this YML header:
Then, in _params.yml I have
However, this does not work. When I run quarto render, I get an error for "object 'params' not found"
Is there anything I can do to inherit params? Is this not possible in quarto 0.9.80? If so, is it possible in a later release?
Thanks,
Scott
Beta Was this translation helpful? Give feedback.
All reactions