From 654fa70a898b1126072e2edb9a4d905da460fce0 Mon Sep 17 00:00:00 2001 From: Salim B Date: Tue, 29 Jul 2025 16:49:50 +0200 Subject: [PATCH 1/2] docs: update `output_file` param desc updates the docs to match changes in https://github.com/quarto-dev/quarto-r/pull/257/ --- R/render.R | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/R/render.R b/R/render.R index d73967aa..2ad0c880 100644 --- a/R/render.R +++ b/R/render.R @@ -8,10 +8,9 @@ #' to rendering the project in the current working directory). #' @param output_format Target output format (defaults to `"html"`). The option #' `"all"` will render all formats defined within the file or project. -#' @param output_file 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. +#' @param output_file Base name for single-file output (e.g. PDF, ePub, MS Word). +#' This sets the `output-file` Quarto metadata. If `NULL`, the output filename +#' will be based on the input filename. #' @param execute Whether to execute embedded code chunks. #' @param execute_params A list of named parameters that override custom params #' specified within the YAML front-matter. From b1c8cf5586735266998eb1d0a3779493ea497958 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Tue, 29 Jul 2025 17:09:45 +0200 Subject: [PATCH 2/2] format with air and document --- R/render.R | 2 +- man/quarto_render.Rd | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/R/render.R b/R/render.R index 2ad0c880..006b5bf5 100644 --- a/R/render.R +++ b/R/render.R @@ -10,7 +10,7 @@ #' `"all"` will render all formats defined within the file or project. #' @param output_file Base name for single-file output (e.g. PDF, ePub, MS Word). #' This sets the `output-file` Quarto metadata. If `NULL`, the output filename -#' will be based on the input filename. +#' will be based on the input filename. #' @param execute Whether to execute embedded code chunks. #' @param execute_params A list of named parameters that override custom params #' specified within the YAML front-matter. diff --git a/man/quarto_render.Rd b/man/quarto_render.Rd index 243f3499..7b2e768b 100644 --- a/man/quarto_render.Rd +++ b/man/quarto_render.Rd @@ -34,10 +34,9 @@ to rendering the project in the current working directory).} \item{output_format}{Target output format (defaults to \code{"html"}). The option \code{"all"} will render all formats defined within the file or project.} -\item{output_file}{The name of the output file. If using \code{NULL}, the output -filename will be based on the filename for the input file. \code{output_file} is -mapped to the \code{--output} option flag of the \code{quarto} CLI. It is expected to -be a filename only, not a path, relative or absolute.} +\item{output_file}{Base name for single-file output (e.g. PDF, ePub, MS Word). +This sets the \code{output-file} Quarto metadata. If \code{NULL}, the output filename +will be based on the input filename.} \item{execute}{Whether to execute embedded code chunks.}