-
Hi, I have a quarto report However, I am not able to pass this option through the Thank you in advance for your help. All the best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You could put the HTML output under Git / version control and track the version history in GitHub's interface. The idea of the |
Beta Was this translation helpful? Give feedback.
-
I suggest you have a look to this slide: https://thomasmock.quarto.pub/reports-presentations/#/render-with-parameters-1 For reference, the code from Tom Mock: render_fun <- function(penguin){
quarto::quarto_render(
input = "penguin-report.qmd",
execute_params = list(species = penguin),
output_file = glue::glue("{penguin}-report.html")
)
}
unique(penguins$species) |>
as.character() |>
purrr::walk(render_fun) |
Beta Was this translation helpful? Give feedback.
You could put the HTML output under Git / version control and track the version history in GitHub's interface.
The idea of the
targets
package and other Make-like tools is to maintain a single pipeline with newer targets overwriting previous ones. So there is a philosophical difference.