quarto-dev / quarto-dev/quarto-cli

Any way to read / use Quarto metadata or variables in R code?

Open
#85 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.