{"repo":"gadenbuie/epoxy","free":true,"listed":false,"github":"https://github.com/gadenbuie/epoxy","clone":"git clone https://github.com/gadenbuie/epoxy.git","description":"Extra-strength glue engines for R Markdown, Quarto, and Shiny","language":"R","stars":217,"topics":["glue","r","template","rmarkdown","rmd","shiny","knitr","knitr-engine","quarto"],"license":null,"category":"cli-tools","readme_excerpt":"{epoxy} extra-strength glue for scripts, reports, and apps. epoxy is super glue In R Markdown and Quarto reports Use epoxy chunks for extra-strength inline syntax. Just library(epoxy) in your R Markdown or Quarto document to get started. All epoxy chunks make it easy to transform values in place with a {cli} -inspired inline syntax described in ?epoxy transform inline . In R scripts The same functions that power epoxy chunks are availble in three flavors: - epoxy() for markdown and general purpose outputs - epoxy html() for HTML outputs, with added support for HTML templating (see ?epoxy transform html ) - epoxy latex() for LaTeX reports These functions are accompanied by a robust system for chained glue-transformers powered by epoxy transform() . In Shiny apps ui epoxy html() makes it easy to update text or HTML dynamically, anywhere in your Shiny app’s UI. For more complicated situations, ui epoxy mustache() lets you turn any Shiny UI into a template that leverages the Mustache templating language. epoxy in R Markdown and Quarto documents In R Markdown and Quarto documents, epoxy gives you an epoxy chunk where you can write in markdown, blending prose and data using glue’s template syntax. Here’s an example using a small list containing data about a movie (expand the section below to see the full code for movie ). We can use the inline transformer to format the replacement text as we build up a description from this data. Movie data {epoxy} The movie {.emph {.titlecase movi","default_branch":null,"files":null,"tree":[],"storefront":"/r/gadenbuie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gadenbuie/epoxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}