title: If I use the function includeHTML in shiny, javascript based graphing packages dont work
body: <p>Once I add an HTML document in my shiny app my graphs stop populating. I am using bs4dash but shinydashboard also has the exact same issue.</p>
  <p>Below is my code as well as a screenshot of what is happening.</p>
  <p>Code before i add HTML document</p>
  <p><strong>Ui</strong></p>
  <pre><code>library(shiny)
  library(bs4Dash)
  library(highcharter)
  library(plotly)
  ui &lt;- dashboardPage(
    dashboardHeader(title = &quot;Basic dashboard&quot;),
    dashboardSidebar(),
    dashboardBody(
    
        box(width = 12,
            plotlyOutput(&quot;plot1&quot;)          
      )
    ),
    fluidRow(
      box(
        #width = 12, 
        #includeHTML(&quot;first.html&quot;)
      )
    )
  )
  )
  </code></pre>
  <p><strong>Server</strong></p>
  <pre><code>server &lt;- function(input, output) {
   
    a = rnorm(100)
    output$plot1 = renderPlotly({
      plot_ly(x = ~a, type = &quot;histogram&quot;)
    })
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ktkCF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ktkCF.jpg" alt="enter image description here" /></a></p>
  <p>Now when i remove the hastags to display my HMTL document. My graph all of a sudden disappears.</p>
  <p><strong>Ui</strong></p>
  <pre><code>library(shiny)
  library(bs4Dash)
  library(highcharter)
  library(plotly)
  ui &lt;- dashboardPage(
    dashboardHeader(title = &quot;Basic dashboard&quot;),
    dashboardSidebar(),
    dashboardBody(
    
        box(width = 12,
            plotlyOutput(&quot;plot1&quot;)          
      )
    ),
    fluidRow(
      box(
        width = 12, 
        includeHTML(&quot;first.html&quot;)
      )
    )
  )
  )
  </code></pre>
  <p><strong>Server</strong></p>
  <pre><code>server &lt;- function(input, output) {
   
    a = rnorm(100)
    output$plot1 = renderPlotly({
      plot_ly(x = ~a, type = &quot;histogram&quot;)
    })
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/6yNp0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6yNp0.jpg" alt="enter image description here" /></a></p>
  <p>I would like to have the graph still show. What is going wrong in the code. Thank you</p>