/reactivity-three-ways-quarto

Primary LanguageRCreative Commons Attribution 4.0 InternationalCC-BY-4.0

reactivity-three-ways-quarto

This is a Quarto book. To run this on your computer, you'll need:

  • A recent version of Quarto and, although not strictly necessary, a recent version of the RStudio IDE.
  • A recent version of Python. I use Python 3.10, but it runs on 3.8.
  • The R package renv.

Restore

To restore the project environment, use the R console from the project's root directory:

renv::restore()

Render

To render the book, you can use the terminal:

quarto render

or you can use the "Render" button in the RStudio IDE.

Image filter

You may notice diagrams specified in the document like this:

![Reactivity diagram for Shiny demo-app](images/shiny-aggregate-local.svg){.filter}

The {.filter} adds a class "filter" to the <img> element. The class is used by a bit of added JavaScript, in img-filter.html, to identify images to be inverted in dark-mode. These images are line diagrams with transparent backgrounds.