functions to modify qmd for specific exports

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-23 10:07:26 +01:00
commit d71d6169ff
No known key found for this signature in database
17 changed files with 246 additions and 29 deletions

View file

@ -4,18 +4,11 @@
\alias{write_quarto}
\title{Wrapper to save data in RDS, load into specified qmd and render}
\usage{
write_quarto(
data,
fileformat = c("html", "docx", "odt", "pdf", "all"),
qmd.file = here::here("report.qmd"),
...
)
write_quarto(data, qmd.file = here::here("report.qmd"), ...)
}
\arguments{
\item{data}{list to pass to qmd}
\item{fileformat}{output format. Ignored if file!=NULL}
\item{qmd.file}{qmd file to render. Default is 'here::here("report.qmd")'}
\item{...}{Passed to \code{quarto::quarto_render()}}