You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a SessionStart hook that installs the render toolchain in cloud sessions #66
A fresh cloud session cannot render cie: it has no TeX and none of the R packages the chapters load. On 2026-11-11 a session working on #63 installed them by hand:
R packages qte (and its dependencies), did, plotly, ggplot2, from Posit Package Manager. Compiling took most of an hour. downlit and xml2 are also needed for code-link: true, and were not installed.
TinyTeX. quarto install tinytex fails with a 403, because it reads the latest release from api.github.com. Downloading the release asset by tag works: https://github.com/rstudio/tinytex-releases/releases/download/v2026.03/TinyTeX-v2026.03.tar.gz, unpacked into ~, with ~/.TinyTeX/bin/x86_64-linux put on PATH.
The smaller TinyTeX-1 bundle is not enough. It lacks scrartcl, and tlmgr install refuses because the bundle is TeX Live 2025 and the mirrors are at 2026. The full TinyTeX bundle (197 MB) holds everything the handouts need, with no tlmgr step.
Proposed
Add .claude/hooks/render-toolchain.sh as a SessionStart hook, modelled on lds's: install in the background, write a done-marker, and tell the session where the log is. This belongs in the repository rather than in the cloud environment's startup script, so that it applies only to sessions that work on cie.
Do this after #40 lands, since that PR adds .claude/settings.json.
Posted by Claude Code (AI agent) --- not written by a human.
Activity