tladeras’s avatartladeras’s Twitter Archive—№ 4,177

              1. #rstats #shiny question: Has anyone gotten either {cicerone} or {rintrojs} working with {flexdashboard} apps? I'm banging my head trying to get a guided tour to work for my app.
            1. …in reply to @tladeras
              Ok - I got it to work, but a little inelegantly. I made a javascript folder, and used includeScript() and includeCSS() to include the rintrojs libraries/CSS files.
          1. …in reply to @tladeras
            It took a lot of inspector snooping to realize that the javascript was not being included into the flexdashboard code.
        1. …in reply to @tladeras
          I really need to spend more time understanding how flexdashboard renders the HTML files. I feel like I would have figured this sooner.
      1. …in reply to @tladeras
        Addendum: I finally understand how intro.js works. This is a a really useful article in understanding it, and how it leverages HTML attributes. Worth learning specific rather than using {rintrojs}, which doesn't play with flexdashboard nicely. shiny.rstudio.com/articles/js-introjs.html
    1. …in reply to @tladeras
      Ultimately, introBox() is adding divs when you wrap it around a control, which interferes with the flexible plot sizing. Wrapping a plotOutput() in a introBox() gives a "invalid height/width" error.
  1. …in reply to @tladeras
    Anyhow, this is also emphasizing how little CSS I know, and I better learn more of the flexbox CSS layout stuff to get better.