quarto-dev / quarto-dev/quarto-r
Return correct quarto path and version for when this package is used in a quarto document
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 161
- Forks
- 29
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 1
Description
Especially quarto:::find_quarto() so that other function works like quarto_version()
But there is also QUARTO_EXECUTE_INFO that is available that can help maybe
jsonlite::read_json(Sys.getenv("QUARTO_EXECUTE_INFO"))[["format"]][["metadata"]][["quarto-version"]]
cc @gadenbuie
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
Start with quarto:::find_quarto() and quarto_version(), then inspect how QUARTO_EXECUTE_INFO exposes format metadata, including the quarto-version value shown in the issue. Done means the package returns the correct Quarto path and version when called from a Quarto document, while preserving the expected behavior of the related functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100