- R (version 4.6.1 is recorded in
uvr.lock) - Quarto (tested with 1.10)
- uvr, to install the R packages (see below)
- Fira Sans, installed as a system font: figures use it via
ragg make,bashandperl, to run the build and post-process the HTML- pngquant, to reduce figures to 256 colours after rendering
- ffmpeg, to encode the grand tour video in Chapter 9 (only needed when that chapter is re-executed)
rsyncandssh, formake deployonly
If R packages are compiled from source, some need system libraries, such as libcurl, OpenSSL, libxml2, FreeType, HarfBuzz, FriBidi and GLPK.
The web fonts used on the site (Libron, Fira Sans and Hack) are included in fonts/, so they need not be installed.
R package dependencies are managed with uvr, a fast package manager for R. Install it, then set up the project environment:
uvr syncThis reads uvr.toml/uvr.lock and installs the required packages into a project-local environment at .uvr/.
Once the environment is set up, build the book with make:
make build # Render all chapters to HTML (default target)
make preview # Build, then launch a live preview in the browser
make clean # Remove build artifacts