version in report

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-05-05 14:44:37 +02:00
parent 0a0d69312a
commit b7b688f8b1
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -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"),
params = list(data.file = "web_data.rds",version=app_version()),
# execute_params = list(data.file = temp),
...
)

View file

@ -6,6 +6,7 @@ author: FreesearchR data analysis tool
toc: false
params:
data.file: NA
version: NA
---
```{r setup, echo = FALSE}
@ -46,7 +47,7 @@ Research should be free and open with easy access for all. The FreesearchR tool
## Methods
Analyses were conducted in the *FreesearchR* data analysis web-tool based on R version 4.4.1.
Analyses were conducted using the *FreesearchR* data analysis web-tool version `r params$version` based on *R* version 4.4.1.
## Results