2024-11-08 15:13:33 +01:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/helpers.R
|
|
|
|
\name{write_quarto}
|
|
|
|
\alias{write_quarto}
|
|
|
|
\title{Wrapper to save data in RDS, load into specified qmd and render}
|
|
|
|
\usage{
|
|
|
|
write_quarto(
|
|
|
|
data,
|
2024-11-22 10:53:52 +01:00
|
|
|
fileformat = c("html", "docx", "odt", "pdf", "all"),
|
|
|
|
qmd.file = here::here("report.qmd"),
|
2024-11-08 15:13:33 +01:00
|
|
|
...
|
|
|
|
)
|
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{data}{list to pass to qmd}
|
|
|
|
|
|
|
|
\item{fileformat}{output format. Ignored if file!=NULL}
|
|
|
|
|
2024-11-22 10:53:52 +01:00
|
|
|
\item{qmd.file}{qmd file to render. Default is 'here::here("report.qmd")'}
|
2024-11-08 15:13:33 +01:00
|
|
|
|
2024-11-22 10:53:52 +01:00
|
|
|
\item{...}{Passed to \code{quarto::quarto_render()}}
|
2024-11-08 15:13:33 +01:00
|
|
|
}
|
|
|
|
\value{
|
2024-11-22 10:53:52 +01:00
|
|
|
output file name
|
2024-11-08 15:13:33 +01:00
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Wrapper to save data in RDS, load into specified qmd and render
|
|
|
|
}
|