knitr::opts_chunk$set( message = FALSE, warning = FALSE, collapse = TRUE, error = TRUE, comment = "#>" )
The smxapp is just an .Rmd shiny template. One can obtain it via RStudio by:
File -> New File -> R Markdown -> From template -> smx dashboard
It depends on the {xe} and {mardata} packages, the installation guide for those is provided in the README file. Additional information is provide in the top 2 code chunks in the shiny template (loaded as indicated above).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.