quarto-dev / quarto-dev/quarto-cli
Any way to read / use Quarto metadata or variables in R code?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I want to be able to configure the outputs of my R code in an Rmd file, according to the settings in the project _quarto.yml or _variables.yml. I could, I guess, just find these and parse them again in my R code, but is there some more idiomatic way of reading the settings in these files?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names Rmd documents and the project files _quarto.yml and _variables.yml, but no implementation files or tests. Start by tracing how Quarto passes project metadata into R code, then establish whether an idiomatic access path exists; done means the requested values can be accessed reliably or the supported limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100