Variables with quarto_render #1787
Replies: 1 comment 6 replies
-
The URL is not properly formatted in your message. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been unsuccessful trying to get quarto_render to work similarly to rmarkdown::render. I want to generate variables/objects in one Quarto document and run quarto_render from that document to put them into a report generated by another Quarto document. I probably didn't use any of the right words to describe this, but it's exactly the example on this page: https://bookdown.org/yihui/rmarkdown-cookbook/rmarkdown-render.html
Every time I try I get the error
Error in eval(parse_only(code), envir = envir) : object 'test_value' not found Calls: .main ... inline_exec -> hook_eval -> withVisible -> eval -> eval Execution halted
This is the document where the variables live, called test.qmd:
This is the document where the report lives, called test_report.qmd.
The code above runs successfully if quarto_render is changed to rmarkdown::render. I can't find anything indicating that this functionality is supposed to work differently in Quarto, but I could be searching for the wrong thing.
Beta Was this translation helpful? Give feedback.
All reactions