In your Quarto document, you had a chunk:
#| echo: false
tells knitr
not to show the code within that chunk
Some of the ones I find myself using most often:
#| eval: false
: Don’t evaluate this chunk! Really helpful if you’re trying to isolate an error, or have a chunk that takes a long time#| error: true
: Render this even if the chunk causes an error#| cache: true
: Store the results of this chunk so that it doesn’t need to re-run every time, as long as there are no changes#| warning: false
: Don’t print warnings#| message: false
: Don’t print messagesYou can tell the entire document not to evaluate or print code (so just include the text!) at the top:
Careful! YAML is really picky about spacing.
There are lots of different options for the document
html:
moves to a new line and the options are indented 2 spacesDownload the quarto document with some {gtsummary}
tables from yesterday
eval:
and error:
chunk and document options to help you a) find the error and b) render the document despite the error. Then fix the error.