-
#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.
-
Ok - I got it to work, but a little inelegantly. I made a javascript folder, and used
includeScript()
andincludeCSS()
to include the rintrojs libraries/CSS files. -
It took a lot of inspector snooping to realize that the javascript was not being included into the flexdashboard code.
-
I really need to spend more time understanding how flexdashboard renders the HTML files. I feel like I would have figured this sooner.
-
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
-
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.
-
Anyhow, this is also emphasizing how little CSS I know, and I better learn more of the flexbox CSS layout stuff to get better.