Allows Quarto to work with full paths (where Quarto itself requires relative paths) and replaces both rmarkdown::render()
and quarto::quarto_render()
.
knit(input_file, output_file = NULL, quiet = TRUE, as_job = "auto", ...)
render(input_file, output_file = NULL, quiet = TRUE, as_job = "auto", ...)
file to be rendered, can be R Markdown (.Rmd
) or Quarto (.qmd
), or a lot of other formats such as .md
, .ipynb
and many other formats that Quarto supports.
The name of the output file. If using NULL
, the output
filename will be based on the filename for the input file. output_file
is
mapped to the --output
option flag of the quarto
CLI. It is expected to
be a filename only, not a path, relative or absolute.
Suppress warning and other messages.
Render as an RStudio background job. Default is "auto",
which will render individual documents normally and projects as
background jobs. Use the quarto.render_as_job
R option to control
the default globally.
other arguments passed on to quarto::quarto_render()
.
Functions knit()
and render()
are identical.