Skip to content
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

Add quarto check environment-variable as a way to verify which read-only env var is set and will be used by Quarto #11888

Open
cderv opened this issue Jan 17, 2025 · 3 comments
Labels
enhancement New feature or request quarto-check Related to `quarto check`

Comments

@cderv
Copy link
Collaborator

cderv commented Jan 17, 2025

Quarto has now a few environment variable read in to modify behavior. We document them on
https://quarto.org/docs/advanced/environment-vars.html#variables-quarto-inspects

It would make sense to have a way to check value set with quarto check
Could be one of:

  • quarto check environment
  • quarto check environment-variables
@cderv cderv added enhancement New feature or request quarto-check Related to `quarto check` labels Jan 17, 2025
@roaldarbol
Copy link

I think this is a great idea. :-) Why not just include them in quarto check? That way it'll be easier to report for issues (only needing the output from quarto check). It's not that many env variables in the end.

@mcanouil
Copy link
Collaborator

That's the point of the issue, check quarto check --help.
quarto check is quarto check all.

  • quarto check install
  • quarto check jupyter
  • quarto check knitr
  • quarto check all

@roaldarbol
Copy link

Ah, it just sounded to me like they would only be shown when environment or the variable (e.g. chromium) was appended. But sounds good to me. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request quarto-check Related to `quarto check`
Projects
None yet
Development

No branches or pull requests

3 participants