From 97d7f424a861255b219e4cb6005301a7b8d67b26 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Wed, 18 Dec 2024 11:29:46 +0100 Subject: [PATCH] as small note on docx export errors --- inst/apps/data_analysis_modules/app.R | 5 +++-- inst/apps/data_analysis_modules/ui.R | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/inst/apps/data_analysis_modules/app.R b/inst/apps/data_analysis_modules/app.R index 1d70643..f2c205f 100644 --- a/inst/apps/data_analysis_modules/app.R +++ b/inst/apps/data_analysis_modules/app.R @@ -2079,7 +2079,7 @@ ui_elements <- list( label = "Output format", selected = NULL, choices = list( - "Word" = "docx", + "MS Word" = "docx", "LibreOffice" = "odt" # , # "PDF" = "pdf", @@ -2092,7 +2092,8 @@ ui_elements <- list( outputId = "report", label = "Download", icon = shiny::icon("download") - ) + ), + shiny::helpText("If choosing to output to MS Word, please note, that when opening the document, two errors will pop-up. Choose to repair and choose not to update references. The issue is being worked on. You can always choose LibreOffice instead.") # ) # ) ), diff --git a/inst/apps/data_analysis_modules/ui.R b/inst/apps/data_analysis_modules/ui.R index 75e3d86..45a2605 100644 --- a/inst/apps/data_analysis_modules/ui.R +++ b/inst/apps/data_analysis_modules/ui.R @@ -239,7 +239,7 @@ ui_elements <- list( label = "Output format", selected = NULL, choices = list( - "Word" = "docx", + "MS Word" = "docx", "LibreOffice" = "odt" # , # "PDF" = "pdf", @@ -252,7 +252,8 @@ ui_elements <- list( outputId = "report", label = "Download", icon = shiny::icon("download") - ) + ), + shiny::helpText("If choosing to output to MS Word, please note, that when opening the document, two errors will pop-up. Choose to repair and choose not to update references. The issue is being worked on. You can always choose LibreOffice instead.") # ) # ) ),