I have created a Shiny application that utilizes several sliderInputs and those input values are pasted into various textOutputs and htmlOutputs. Our organization's intention is to allow the user to adjust the input values with calculations performed on those input values with returned textOutputs and htmlOutputs.
For example, the user may chose how many hours of sleep they typically need on an evening and the textOutput would renderText with paste("You have ", 24 - input$sleep, " hours awake.")
Now, I am trying to allow the user to download the textOutputs and htmlOutputs as a PDF after they made their adjustments to the sliderInputs. I have read various articles such as Shiny - Generating downloadable reports and other R Markdown documentation and cheat sheets.
I know that I can knit the R Markdown file into a PDF from the R Markdown alone. However, I am having issues with my inputs and their calculations being outputted into the R Markdown file when I click the download button.
Sorry for not providing any code, but I am unsure if I can share this application with you at this time and will consult with my boss. However, I guess included this "psuedocode" so that I could try to understand if these actions are even possible with Shiny and R Markdown.
-Thank you!