latest app version stored and referenced in function call

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-01-27 14:09:08 +01:00
parent b47a8bb1c0
commit 6399bb00ee
No known key found for this signature in database
3 changed files with 11 additions and 3 deletions

1
R/app_version.R Normal file
View file

@ -0,0 +1 @@
app_version <- function()'250127_1200'

View file

@ -6,6 +6,13 @@
########
#### Current file: R//app_version.R
########
app_version <- function()'250127_1200'
######## ########
#### Current file: R//baseline_table.R #### Current file: R//baseline_table.R
######## ########
@ -3736,7 +3743,7 @@ ui_elements <- list(
inputId = "add_regression_p", inputId = "add_regression_p",
label = "Add p-value", label = "Add p-value",
inline = TRUE, inline = TRUE,
selected = "no", selected = "yes",
choices = list( choices = list(
"Yes" = "yes", "Yes" = "yes",
"No" = "no" "No" = "no"
@ -3903,7 +3910,7 @@ ui <- bslib::page_fixed(
), ),
shiny::p( shiny::p(
style = "margin: 1; color: #888;", style = "margin: 1; color: #888;",
"AG Damsbo | v", format(Sys.time(),format = '%y%m%d_%H%M')," | AGPLv3 license | ", shiny::tags$a("Source on Github", href = "https://github.com/agdamsbo/freesearcheR/", target = "_blank", rel = "noopener noreferrer") "AG Damsbo | v", app_version()," | AGPLv3 license | ", shiny::tags$a("Source on Github", href = "https://github.com/agdamsbo/freesearcheR/", target = "_blank", rel = "noopener noreferrer")
), ),
) )
) )

View file

@ -518,7 +518,7 @@ ui <- bslib::page_fixed(
), ),
shiny::p( shiny::p(
style = "margin: 1; color: #888;", style = "margin: 1; color: #888;",
"AG Damsbo | v", format(Sys.time(),format = '%y%m%d_%H%M')," | AGPLv3 license | ", shiny::tags$a("Source on Github", href = "https://github.com/agdamsbo/freesearcheR/", target = "_blank", rel = "noopener noreferrer") "AG Damsbo | v", app_version()," | AGPLv3 license | ", shiny::tags$a("Source on Github", href = "https://github.com/agdamsbo/freesearcheR/", target = "_blank", rel = "noopener noreferrer")
), ),
) )
) )