mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 12:37:30 +02:00
This commit is contained in:
parent
9063b79158
commit
0f0e3ddc13
14 changed files with 43 additions and 13 deletions
|
|
@ -50,7 +50,7 @@ write_quarto <- function(data, ...) {
|
|||
)
|
||||
}
|
||||
|
||||
write_rmd <- function(data, ...) {
|
||||
write_rmd <- function(data, ..., params.args=NULL) {
|
||||
# Exports data to temporary location
|
||||
#
|
||||
# I assume this is more secure than putting it in the www folder and deleting
|
||||
|
|
@ -65,7 +65,7 @@ write_rmd <- function(data, ...) {
|
|||
## Ref: https://github.com/quarto-dev/quarto-cli/discussions/4041
|
||||
## Outputs to the same as the .qmd file
|
||||
rmarkdown::render(
|
||||
params = list(data.file = "web_data.rds",version=app_version()),
|
||||
params = modifyList(list(data.file = "web_data.rds",version=app_version()),params.args),
|
||||
# execute_params = list(data.file = temp),
|
||||
...
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue