You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When composing plots using wrap_plots() or plot arithmetic operators in an R Markdown or Quarto document, and assigning the resulting patchwork to an object using <-, a table with columns "t", "l", "b", and "r" is printed in line as an output of the chunk. This cannot be avoided using invisible(). In an R Markdown document using knitr chunk options {r, results='hide'} fails to prevent the table from being printed while {r, include=FALSE} succeeds. In a Quarto document the execution option #| output: false fails while #| include: false succeeds.
R Markdown
Quarto
The text was updated successfully, but these errors were encountered:
Rendering this document using rmarkdown::render() will not show a table output for the patch chunk
However, showing interactive chunk result inline will reproduce what you are seeing. This mean by adding the config to the document
editor_options:
chunk_output_type: inline
So I would say this is an RSTUDIO IDE issue that seems to print the patch <- p1 + p2 somehow. RStudio IDE has its printing method for the chunk interactive rendering and they do not live in rmarkdown or knitr.
When composing plots using
wrap_plots()
or plot arithmetic operators in an R Markdown or Quarto document, and assigning the resulting patchwork to an object using<-
, a table with columns "t", "l", "b", and "r" is printed in line as an output of the chunk. This cannot be avoided usinginvisible()
. In an R Markdown document usingknitr
chunk options{r, results='hide'}
fails to prevent the table from being printed while{r, include=FALSE}
succeeds. In a Quarto document the execution option#| output: false
fails while#| include: false
succeeds.R Markdown
Quarto
The text was updated successfully, but these errors were encountered: