Description
Quarto can find Pandoc when advertised via RSTUDIO_PANDOC
. As of #3856, we set this variable for Tasks, but not for user created terminals, which means that quarto
commands run in a Terminal can't find the version of Pandoc bundled in Positron.
Related to (and could be addressed as part of) #7403.
Discussed in #7699
Originally posted by AlbertRapp May 14, 2025
I run into trouble rendering Quarto files inside Positron when this requires Pandoc. For example, this can happen when trying to render Rmd pagedown files. I'm always switching to RStudio to render in these cases.
I suspect that this happens because the RSTUDIO_PANDOC
env-variable isn't available. But the way I understand #3856, this env-variable should be available when rendering Rmd or Qmd files. But this isn't the case for me.
When I render a Quarto file that looks like this:
---
title: "Untitled"
format: html
---
```{r}
Sys.getenv('RSTUDIO_PANDOC')
```
I get a ""
output for the Sys.getenv()
call. Am I doing something wrong here?