The problem is: My project is shiny app based on inputs that generate a report that is dependent on Rmarkdown template document with parameters. I need to preview the report in the shiny app after entering these inputs that will affect these parameters.
The problem: that I found
on the top of page. See the attached photo.
The app code:
in UI part:
uiOutput('markdown')
in server part:
output$markdown <- renderUI({
HTML(markdownToHTML(render('HTMLesoApp.Rmd',output_format = html_document(),
params = list(A= input$search,
A0= input$author,
A1 = input$EsophagealCarcinomaProcedure,
A3 = input$EsophagealCarcinomaTumorSite))))})
if I used Knit function instead of render the problem disappear, but I can not pass the parameters inputs.