-
What is the recommended way to detect whether or not R code is run as part of a Quarto rendering? Is there a specific environment variable that Quarto sets when it's running? |
Beta Was this translation helpful? Give feedback.
Answered by
jjallaire
May 30, 2022
Replies: 1 comment 3 replies
-
The following global knit options are set during a Quarto render: https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/rmd/execute.R#L206-L211 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
jjallaire
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following global knit options are set during a Quarto render: https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/rmd/execute.R#L206-L211