mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 18:09:39 +02:00
28 lines
676 B
R
28 lines
676 B
R
% 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,
|
|
fileformat = c("html", "docx", "odt", "pdf", "all"),
|
|
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()}}
|
|
}
|
|
\value{
|
|
output file name
|
|
}
|
|
\description{
|
|
Wrapper to save data in RDS, load into specified qmd and render
|
|
}
|